d46336a46372fc3d6f05e05119fc6eb3fa308e29.svn-base 1.1 KB

123456789101112131415161718192021222324
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Basic Resizable - 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 Resizable</h2>
  14. <p>Click on the edge of box and move the edge to resize the box.</p>
  15. <div style="margin:20px 0;"></div>
  16. <div class="easyui-resizable" data-options="minWidth:50,minHeight:50" style="width:200px;height:150px;border:1px solid #ccc;">
  17. <div style="padding:20px">Resize Me</div>
  18. </div>
  19. <div id="dd" class="easyui-draggable easyui-resizable" data-options="handle:'#mytitle'" style="width:200px;height:150px;border:1px solid #ccc">
  20. <div id="mytitle" style="background:#ddd;padding:5px;">Title</div>
  21. <div style="padding:20px">Drag and Resize Me</div>
  22. </div>
  23. </body>
  24. </html>