fluid.html 868 B

123456789101112131415161718192021
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Fluid Slider - 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>Fluid Slider</h2>
  14. <p>This example shows how to set the width of Slider to a percentage of its parent container.</p>
  15. <div style="margin:20px 0 50px 0;"></div>
  16. <p>width: 50%</p>
  17. <input class="easyui-slider" value="50" data-options="showTip:true" style="width:50%;">
  18. <p>width: 30%</p>
  19. <input class="easyui-slider" value="50" data-options="showTip:true" style="width:30%;">
  20. </body>
  21. </html>