jQuery MiniUI
标题:
panel 滚动条问题
[打印本页]
作者:
nuangnian
时间:
2016-1-8 13:53:58
标题:
panel 滚动条问题
本帖最后由 nuangnian 于 2016-1-8 14:01 编辑
<body>
<div class="mini-fit">
<div class="mini-panel" style="width:100%;height:100%;"
showCollapseButton="true" bodyStyle="padding:0;overflow-y: hidden"
url="/text1.html" expanded="false" >
</div>
<div class="mini-panel" style="width:100%;height:100%;"
showCollapseButton="true" bodyStyle="padding:0;overflow-y: hidden"
url="/text2.html" expanded="false" >
</div>
<div class="mini-panel" style="width:100%;height:100%;"
showCollapseButton="true" bodyStyle="padding:0;overflow-y: hidden"
url="/text3.html" expanded="false" >
</div>
<div class="mini-panel" style="width:100%;height:100%;"
showCollapseButton="true" bodyStyle="padding:0;overflow-y: hidden"
url="/text4.html" expanded="false" >
</div>
</div>
</body>
4个panel默认初始化收缩。当打开第一个panel时,由于text1.html页面过大,在panel内部出现滚动条(相当于iframe),
如何去除滚动条 ,bodyStyle属性加overflow无效
换句话说,panel的高度如何根据里面的页面自适应
作者:
dforce
时间:
2016-1-8 14:26:31
无法自适应,只能根据设置的尺寸显示
欢迎光临 jQuery MiniUI (http://miniui.com/discuss/)
Powered by Discuz! X2