javascript 如何将手风琴高度设置为固定值?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5737589/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to set accordion-height to a fixed value?
提问by iceteea
How to set the jQuery UI Accordion -height to a fixed value? Did I miss anything?
如何将 jQuery UI Accordion -height 设置为固定值?我错过了什么吗?
回答by Chris Laplante
See this example: http://jqueryui.com/demos/accordion/#no-auto-height
看这个例子:http: //jqueryui.com/demos/accordion/#no-auto-height
Edit
编辑
Actually, you probably want this: http://jqueryui.com/demos/accordion/#default
实际上,你可能想要这个:http: //jqueryui.com/demos/accordion/#default