basic.html 1.6 KB

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic LinkButton - 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 LinkButton</h2>
  14. <p>Buttons can be created from &lt;a&gt; or &lt;button&gt; elements.</p>
  15. <div style="margin:10px 0 40px 0;"></div>
  16. <p>Basic Buttons</p>
  17. <div style="padding:5px 0;">
  18. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add'">Add</a>
  19. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove'">Remove</a>
  20. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save'">Save</a>
  21. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cut',disabled:true">Cut</a>
  22. <a href="#" class="easyui-linkbutton">Text Button</a>
  23. </div>
  24. <p>Fixed Width Buttons</p>
  25. <div style="padding:5px 0;">
  26. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-search'" style="width:80px">Search</a>
  27. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-print'" style="width:80px">Print</a>
  28. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload'" style="width:80px">Reload</a>
  29. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-help'" style="width:80px">Help</a>
  30. </div>
  31. </body>
  32. </html>