Skip to content

Commit

Permalink
demos/resizable/max.html - switched to framework classes
Browse files Browse the repository at this point in the history
  • Loading branch information
rdworth committed Dec 30, 2008
1 parent 551d3c2 commit 9661b16
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions demos/resizable/max.html
Expand Up @@ -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>

Expand Down

0 comments on commit 9661b16

Please sign in to comment.