r1302 - trunk/demos/resizable
Author: rdworth
Date: Mon Dec 29 22:14:38 2008
New Revision: 1302
Modified:
trunk/demos/resizable/max.html
Log:
demos/resizable/max.html - switched to framework classes
Modified: trunk/demos/resizable/max.html
==============================================================================
--- trunk/demos/resizable/max.html (original)
+++ trunk/demos/resizable/max.html Mon Dec 29 22:14:38 2008
@@ -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">
Resize me
</div>