aboutsummaryrefslogtreecommitdiffstats
path: root/demos/resizable
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-12-30 05:54:19 +0000
committerRichard Worth <rdworth@gmail.com>2008-12-30 05:54:19 +0000
commitbf14d0a73d653785d24cf5dad45399cb50a459cb (patch)
treeae850bad6fed592a38c6c38bb716fcd6d8c5f5f7 /demos/resizable
parentb5eb51943e468a97d4d6fc654c31940550edc3f4 (diff)
downloadjquery-ui-bf14d0a73d653785d24cf5dad45399cb50a459cb.tar.gz
jquery-ui-bf14d0a73d653785d24cf5dad45399cb50a459cb.zip
demos/resizable/containment.html - switched to framework classes
Diffstat (limited to 'demos/resizable')
-rw-r--r--demos/resizable/containment.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/demos/resizable/containment.html b/demos/resizable/containment.html
index 42c505fe0..15abea55f 100644
--- a/demos/resizable/containment.html
+++ b/demos/resizable/containment.html
@@ -7,6 +7,11 @@
<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 { background-position: top left; width: 150px; height: 150px; }
+ #resizable, #container { padding: 0.5em; }
+ #container { width: 300px; height: 300px; }
+ </style>
<script type="text/javascript">
$(function() {
$("#resizable").resizable({
@@ -17,8 +22,9 @@
</head>
<body>
-<div id="container" style="width: 600px; height: 600px; background-color: #0f0;">
- <div id="resizable" style="width: 200px; height: 200px; background-color: #f00;">
+<div id="container" class="ui-widget-content">
+ <p>Container</p>
+ <div id="resizable" class="ui-widget-header">
<p>Resize me</p>
</div>
</div>