| 1 |
<!doctype html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<title>jQuery UI Resizable - Default functionality</title> |
| 5 |
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" /> |
| 6 |
<script type="text/javascript" src="../../jquery-1.3.2.js"></script> |
| 7 |
<script type="text/javascript" src="../../ui/ui.core.js"></script> |
| 8 |
<script type="text/javascript" src="../../ui/ui.resizable.js"></script> |
| 9 |
<link type="text/css" href="../demos.css" rel="stylesheet" /> |
| 10 |
<style type="text/css"> |
| 11 |
#resizable { width: 150px; height: 150px; padding: 0.5em; } |
| 12 |
#resizable h3 { text-align: center; margin: 0; } |
| 13 |
</style> |
| 14 |
<script type="text/javascript"> |
| 15 |
$(function() { |
| 16 |
$("#resizable").resizable(); |
| 17 |
}); |
| 18 |
</script> |
| 19 |
</head> |
| 20 |
<body> |
| 21 |
<div class="demo"> |
| 22 |
|
| 23 |
<div id="resizable" class="ui-widget-content"> |
| 24 |
<h3 class="ui-widget-header">Resizable</h3> |
| 25 |
</div> |
| 26 |
|
| 27 |
</div><!-- End demo --> |
| 28 |
|
| 29 |
<div class="demo-description"> |
| 30 |
|
| 31 |
<p>Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.</p> |
| 32 |
|
| 33 |
</div><!-- End demo-description --> |
| 34 |
</body> |
| 35 |
</html> |
| 36 |
|