| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <title>jQuery UI Resizable Test Suite</title> |
| 6 | |
| 7 | <script src="../../../external/requirejs/require.js"></script> |
| 8 | <script src="../../lib/css.js" data-modules="core resizable"></script> |
| 9 | <script src="../../lib/bootstrap.js" data-widget="resizable"></script> |
| 10 | <style> |
| 11 | #container { |
| 12 | width: 300px; |
| 13 | height: 200px; |
| 14 | } |
| 15 | #resizable1 { |
| 16 | background: green; |
| 17 | height: 100px; |
| 18 | width: 100px; |
| 19 | } |
| 20 | #resizable2 { |
| 21 | height: 100px; |
| 22 | width: 100px; |
| 23 | } |
| 24 | #container2 { |
| 25 | position: relative; |
| 26 | width: 400px; |
| 27 | height: 400px; |
| 28 | margin: 30px 0 0 30px; |
| 29 | } |
| 30 | #parent { |
| 31 | position: relative; |
| 32 | width: 300px; |
| 33 | height: 300px; |
| 34 | } |
| 35 | #child { |
| 36 | position: relative; |
| 37 | width: 100px; |
| 38 | height: 100px; |
| 39 | } |
| 40 | </style> |
| 41 | </head> |
| 42 | <body> |
| 43 | |
| 44 | <div id="qunit"></div> |
| 45 | <div id="qunit-fixture"> |
| 46 | |
| 47 | <div id="container"> |
| 48 | <div id="resizable1">I'm a resizable.</div> |
| 49 | <div id="resizer1" class="ui-resizable-handle ui-resizable-s"></div> |
| 50 | </div> |
| 51 | |
| 52 | <div id="container2"> |
| 53 | <div id="parent"> |
| 54 | <div id="child">I'm a resizable.</div> |
| 55 | </div> |
| 56 | </div> |
| 57 | <img src="images/test.jpg" id="resizable2" alt="solid gray"> |
| 58 | |
| 59 | </div> |
| 60 | </body> |
| 61 | </html> |