menubar.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  6. <title>Menubar - jQuery EasyUI Mobile Demo</title>
  7. <link rel="stylesheet" type="text/css" href="../../themes/metro/easyui.css">
  8. <link rel="stylesheet" type="text/css" href="../../themes/mobile.css">
  9. <link rel="stylesheet" type="text/css" href="../../themes/icon.css">
  10. <script type="text/javascript" src="../../jquery.min.js"></script>
  11. <script type="text/javascript" src="../../jquery.easyui.min.js"></script>
  12. <script type="text/javascript" src="../../jquery.easyui.mobile.js"></script>
  13. </head>
  14. <body>
  15. <div class="easyui-navpanel">
  16. <header>
  17. <div class="m-toolbar">
  18. <div class="m-title">
  19. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,outline:true" style="width:70px">Home</a>
  20. <a href="javascript:void(0)" class="easyui-menubutton" data-options="menu:'#mm1',iconCls:'icon-edit',outline:true" style="width:70px">Edit</a>
  21. <a href="javascript:void(0)" class="easyui-menubutton" data-options="menu:'#mm2',iconCls:'icon-help',outline:true" style="width:75px">Help</a>
  22. <a href="javascript:void(0)" class="easyui-linkbutton" data-options="plain:true,outline:true" style="width:70px">About</a>
  23. </div>
  24. </div>
  25. </header>
  26. </div>
  27. <div id="mm1" class="easyui-menu" style="width:150px;">
  28. <div data-options="iconCls:'icon-undo'">Undo</div>
  29. <div data-options="iconCls:'icon-redo'">Redo</div>
  30. <div class="menu-sep"></div>
  31. <div>Cut</div>
  32. <div>Copy</div>
  33. <div>Paste</div>
  34. <div class="menu-sep"></div>
  35. <div>Toolbar</div>
  36. <div data-options="iconCls:'icon-remove'">Delete</div>
  37. <div>Select All</div>
  38. </div>
  39. <div id="mm2" style="width:100px;">
  40. <div>Help</div>
  41. <div>Update</div>
  42. <div>About</div>
  43. </div>
  44. </body>
  45. </html>