May 09, 2021 jQuery EasyUI
You can inline the Layout component in the jQuery EasyUI window. Without using js code, you can create a complex layout window that helps us render and resize in the background with the jquery-easyui framework.
In the example in this section, we create a window that consists of two parts, one on the left and one on the right, a tree menu on the left side of the window, and a tabs container on the right side of the window.
<div class="easyui-window" title="Layout Window" icon="icon-help" style="width:500px;height:250px;padding:5px;background: #fafafa;">
<div class="easyui-layout" fit="true">
<div region="west" split="true" style="width:120px;">
<ul class="easyui-tree">
<li>
<span>Library</span>
<ul>
<li><span>easyui</span></li>
<li><span>Music</span></li>
<li><span>Picture</span></li>
<li><span>Database</span></li>
</ul>
</li>
</ul>
</div>
<div region="center" border="false" border="false">
<div class="easyui-tabs" fit="true">
<div title="Home" style="padding:10px;">
jQuery easyui framework help you build your web page easily.
</div>
<div title="Contacts">
No contact data.
</div>
</div>
</div>
<div region="south" border="false" style="text-align:right;height:30px;line-height:30px;">
<a class="easyui-linkbutton" icon="icon-ok" href="javascript:void(0)">Ok</a>
<a class="easyui-linkbutton" icon="icon-cancel" href="javascript:void(0)">Cancel</a>
</div>
</div>
</div>
Look at the code above, we're just using HTML tags, and a complex layout window will show up. This is the jquery-easyui framework, simple and powerful.