场景需求:左边框框用来放树菜单,右边就是点击菜单后显示的内容
js
$(function () { $("#layoutMain").ligerLayout({ topHeight :80, leftWidth: 180, height: '100%' }); });
html
<div id="layoutMain" style="width:99.2%; margin:0 auto; margin-top:4px;"> <div position="left" id="accordion1" title="变电站名称"> </div> <div position="center" id="framecenter"> </div> </div>
效果
标签:function,菜单,ligerLayout,左右分,布局,height From: https://www.cnblogs.com/rdchen/p/17353311.html