[英]Accordion adjusting height of the panels in jquery
I am trying to stop autoresize accordion panel by using this script 我试图通过使用此脚本停止autoresize accordion面板
$( "#fullpageaccordion .questions" ).accordion({autoHeight: false});
which does not work - accordion adjust the content area size by its largest content. 哪个不起作用 - 手风琴按其最大内容调整内容区域大小。 What I am doing wrong?
我做错了什么? Thanks in advance.
提前致谢。
Try this... 尝试这个...
$('#accordion').accordion({
collapsible: true,
autoHeight: false
});
Or try this to clear height... 或者尝试这个来清除高度......
$('#accordion').accordion({
clearStyle: true
});
Note: autoHeight doesnt work with clearStyle 注意:autoHeight不能与clearStyle一起使用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.