折叠jquery上的Accordion中的所有选项卡? [英] Collapse all the tabs in a Accordion on jquery?
本文介绍了折叠jquery上的Accordion中的所有选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通过使用Telerik Extensions for ASP.NET MVC, 如何隐藏正在加载的页面上的所有手风琴"选项卡?默认情况下,它将扩展页面加载中的第一个手风琴"选项卡! 非常感谢!
By using the Telerik Extensions for ASP.NET MVC, how can I hide all the Accordion Tabs on page loading up ? By default, it will expand the first Accordion tab on page loading up! Thanks a lot!
推荐答案
尝试一下:
它将禁用所有活动(打开)窗格.
It will disable all the active (open) pane.
$('.accordion').accordion({
active: false,
collapsible: true
});
这篇关于折叠jquery上的Accordion中的所有选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文