aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-30 06:14:38 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-30 06:14:38 +0000
commit9661b1624f13a8029a984f1ac1f0d56df317d9d4 (patch)
tree54ecaa9b2ec752798ca43a54a169b478405c48cf /demos
parent551d3c22094325f7d3f582af3694d86684bd4977 (diff)
downloadjquery-ui-9661b1624f13a8029a984f1ac1f0d56df317d9d4.tar.gz
jquery-ui-9661b1624f13a8029a984f1ac1f0d56df317d9d4.zip
demos/resizable/max.html - switched to framework classes
Diffstat (limited to 'demos')
-rw-r--r--demos/resizable/max.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/demos/resizable/max.html b/demos/resizable/max.html
index ce5210066..175c7dc5e 100644
--- a/demos/resizable/max.html
+++ b/demos/resizable/max.html
@@ -7,18 +7,21 @@
<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({
- maxHeight: 400,
- maxWidth: 600
+ maxHeight: 250,
+ maxWidth: 350
});
});
</script>
</head>
<body>
-<div id="resizable" style="width: 200px; height: 200px; background-color: #f00;">
+<div id="resizable" class="ui-widget-content">
<p>Resize me</p>
</div>