size.html 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>LinkButton Size - 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>LinkButton Size</h2>
  14. <p>This sample shows how to display small buttons and large buttons.</p>
  15. <div style="margin:10px 0 40px 0;"></div>
  16. <p>Small 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>Large Buttons</p>
  25. <div style="padding:5px 0;">
  26. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-large-picture',size:'large',iconAlign:'top'">Picture</a>
  27. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-large-clipart',size:'large',iconAlign:'top'">Clip Art</a>
  28. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-large-shapes',size:'large',iconAlign:'top'">Shapes</a>
  29. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-large-smartart',size:'large',iconAlign:'top'">SmartArt</a>
  30. <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-large-chart',size:'large',iconAlign:'top'">Chart</a>
  31. </div>
  32. </body>
  33. </html>