fixedwidth.html 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Fixed Tab Width - 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>Fixed Tab Width</h2>
  14. <p>The tab strips have fixed width and height.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-tabs" data-options="tabWidth:112" style="width:700px;height:250px">
  17. <div title="Home" style="padding:10px">
  18. <p>Home Content.</p>
  19. </div>
  20. <div title="Maps" style="padding:10px">
  21. <p>Maps Content.</p>
  22. </div>
  23. <div title="Journal" style="padding:10px">
  24. <p>Journal Content.</p>
  25. </div>
  26. <div title="History" style="padding:10px">
  27. <p>History Content.</p>
  28. </div>
  29. <div title="References" style="padding:10px">
  30. <p>References Content.</p>
  31. </div>
  32. <div title="Contact" data-options="tabWidth:110" style="padding:10px">
  33. <p>Contact Content.</p>
  34. </div>
  35. </div>
  36. </body>
  37. </html>