Skip to content
Permalink
Browse files

demos/resizable/aspectratio.html - switched to framework classes

  • Loading branch information
rdworth committed Dec 30, 2008
1 parent cc237b3 commit f401cdc0a8710f8bba0bdbea272801168d9a559e
Showing with 5 additions and 2 deletions.
  1. +5 −2 demos/resizable/aspectratio.html
@@ -7,17 +7,20 @@
<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: 160px; height: 90px; padding: 0.5em; background-position: top left; }
</style>
<script type="text/javascript">
$(function() {
$("#resizable").resizable({
aspectRatio: 2
aspectRatio: 16/9
});
});
</script>
</head>
<body>

<div id="resizable" style="width: 400px; height: 200px; background-color: #f00;">
<div id="resizable" class="ui-widget-content">
<p>Resize me</p>
</div>

0 comments on commit f401cdc

Please sign in to comment.
You can’t perform that action at this time.