basic.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic Tree - 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>Basic Tree</h2>
  14. <p>Click the arrow on the left to expand or collapse nodes.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-panel" style="padding:5px">
  17. <ul class="easyui-tree">
  18. <li>
  19. <span>My Documents</span>
  20. <ul>
  21. <li data-options="state:'closed'">
  22. <span>Photos</span>
  23. <ul>
  24. <li>
  25. <span>Friend</span>
  26. </li>
  27. <li>
  28. <span>Wife</span>
  29. </li>
  30. <li>
  31. <span>Company</span>
  32. </li>
  33. </ul>
  34. </li>
  35. <li>
  36. <span>Program Files</span>
  37. <ul>
  38. <li>Intel</li>
  39. <li>Java</li>
  40. <li>Microsoft Office</li>
  41. <li>Games</li>
  42. </ul>
  43. </li>
  44. <li>index.html</li>
  45. <li>about.html</li>
  46. <li>welcome.html</li>
  47. </ul>
  48. </li>
  49. </ul>
  50. </div>
  51. </body>
  52. </html>