在 jquery 上折叠手风琴中的所有选项卡? [英] Collapse all the tabs in a Accordion on jquery?
本文介绍了在 jquery 上折叠手风琴中的所有选项卡?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通过使用 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 上折叠手风琴中的所有选项卡?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文