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

This commit is contained in:
Richard Worth 2008-12-30 06:12:30 +00:00
parent 2947b5306f
commit 551d3c2209

View File

@ -7,6 +7,9 @@
<script type="text/javascript" src="../../jquery-1.2.6.js"></script> <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.core.js"></script>
<script type="text/javascript" src="../../ui/ui.resizable.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"> <script type="text/javascript">
$(function() { $(function() {
$("#resizable").resizable({ $("#resizable").resizable({
@ -17,7 +20,7 @@
</head> </head>
<body> <body>
<div id="resizable" style="width: 200px; height: 200px; background-color: #f00;"> <div id="resizable" class="ui-widget-content">
<p>Resize me</p> <p>Resize me</p>
</div> </div>