aboutsummaryrefslogtreecommitdiffstats
path: root/demos/resizable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-30 06:01:22 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-30 06:01:22 +0000
commitc7d625860cc81b1236400e48a1c3c7d3aea61d99 (patch)
tree79a204aa5c23f73db730135dcd569b482b998f80 /demos/resizable
parent4e0cb0ae5553960f527835f7957bca65f3a7e44a (diff)
downloadjquery-ui-c7d625860cc81b1236400e48a1c3c7d3aea61d99.tar.gz
jquery-ui-c7d625860cc81b1236400e48a1c3c7d3aea61d99.zip
demos/resizable/distance.html - switched to framework classes
Diffstat (limited to 'demos/resizable')
-rw-r--r--demos/resizable/distance.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/resizable/distance.html b/demos/resizable/distance.html
index 2975ae5c2..26a3c62ce 100644
--- a/demos/resizable/distance.html
+++ b/demos/resizable/distance.html
@@ -7,6 +7,9 @@
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
+ <style type="text/css">
+ #resizable { width: 150px; height: 150px; padding: 0.5em; }
+ </style>
<script type="text/javascript">
$(function() {
$("#resizable").resizable({
@@ -17,9 +20,7 @@
</head>
<body>
-<p>You must drag the div at least 40 pixels before it will resize.</p>
-
-<div id="resizable" style="width: 200px; height: 200px; background-color: #f00;">
+<div id="resizable" class="ui-widget-content">
<p>Resize me</p>
</div>