paneltools.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Panel Tools - 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>Panel Tools</h2>
  14. <p>Click the right top buttons to perform actions with panel.</p>
  15. <div style="margin:20px 0 10px 0;">
  16. <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('open')">Open</a>
  17. <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('close')">Close</a>
  18. <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('expand',true)">Expand</a>
  19. <a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:$('#p').panel('collapse',true)">Collapse</a>
  20. </div>
  21. <div class="easyui-panel" style="height:350px;padding:5px;">
  22. <div id="p" class="easyui-panel" title="Panel Tools" style="width:600px;height:200px;padding:10px;"
  23. data-options="iconCls:'icon-save',collapsible:true,minimizable:true,maximizable:true,closable:true">
  24. <p style="font-size:14px">jQuery EasyUI framework helps you build your web pages easily.</p>
  25. <ul>
  26. <li>easyui is a collection of user-interface plugin based on jQuery.</li>
  27. <li>easyui provides essential functionality for building modem, interactive, javascript applications.</li>
  28. <li>using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.</li>
  29. <li>complete framework for HTML5 web page.</li>
  30. <li>easyui save your time and scales while developing your products.</li>
  31. <li>easyui is very easy but powerful.</li>
  32. </ul>
  33. </div>
  34. </div>
  35. </body>
  36. </html>