nestedlayout.html 1.3 KB

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Nested Layout - jQuery EasyUI Demo</title>
  6. <link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
  7. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  8. <link rel="stylesheet" type="text/css" href="../demo.css">
  9. <script type="text/javascript" src="../../jquery.min.js"></script>
  10. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  11. </head>
  12. <body>
  13. <h2>Nested Layout</h2>
  14. <p>The layout region panel contains another layout or other components.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-layout" style="width:700px;height:350px;">
  17. <div data-options="region:'north'" style="height:50px"></div>
  18. <div data-options="region:'south',split:true" style="height:50px;"></div>
  19. <div data-options="region:'east',split:true" title="East" style="width:180px;"></div>
  20. <div data-options="region:'west',split:true" title="West" style="width:100px;"></div>
  21. <div data-options="region:'center',iconCls:'icon-ok'" title="Center" style="padding:5px">
  22. <div class="easyui-layout" data-options="fit:true">
  23. <div data-options="region:'north',split:true" style="height:50px"></div>
  24. <div data-options="region:'west',split:true" style="width:100px"></div>
  25. <div data-options="region:'center'"></div>
  26. </div>
  27. </div>
  28. </div>
  29. </body>
  30. </html>