tabposition.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Tab Position - 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>Tab Position</h2>
  14. <div class="demo-info">
  15. <div class="demo-tip icon-tip"></div>
  16. <div>Click the 'position' drop-down list and select an item to change the tab position.</div>
  17. </div>
  18. <div style="margin:10px 0;">
  19. <span>Position:</span>
  20. <select onchange="$('#tt').tabs({tabPosition:this.value})">
  21. <option value="top">Top</option>
  22. <option value="bottom">Bottom</option>
  23. <option value="left">Left</option>
  24. <option value="right">Right</option>
  25. </select>
  26. </div>
  27. <div id="tt" class="easyui-tabs" style="width:700px;height:250px">
  28. <div title="About" style="padding:10px">
  29. <p style="font-size:14px">jQuery EasyUI framework help you build your web page easily.</p>
  30. <ul>
  31. <li>easyui is a collection of user-interface plugin based on jQuery.</li>
  32. <li>easyui provides essential functionality for building modem, interactive, javascript applications.</li>
  33. <li>using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.</li>
  34. <li>complete framework for HTML5 web page.</li>
  35. <li>easyui save your time and scales while developing your products.</li>
  36. <li>easyui is very easy but powerful.</li>
  37. </ul>
  38. </div>
  39. <div title="My Documents" style="padding:10px">
  40. <ul class="easyui-tree" data-options="url:'tree_data1.json',method:'get',animate:true"></ul>
  41. </div>
  42. <div title="Help" data-options="iconCls:'icon-help',closable:true" style="padding:10px">
  43. This is the help content.
  44. </div>
  45. </div>
  46. </body>
  47. </html>