4
<title>jQuery UI Resizable - Animate</title>
5
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6
<script type="text/javascript" src="../../jquery-1.3.2.js"></script>
7
<script type="text/javascript" src="../../ui/ui.core.js"></script>
8
<script type="text/javascript" src="../../ui/ui.resizable.js"></script>
9
<link type="text/css" href="../demos.css" rel="stylesheet" />
10
<style type="text/css">
11
#resizable { width: 150px; height: 150px; padding: 0.5em; }
12
#resizable h3 { text-align: center; margin: 0; }
13
.ui-resizable-helper { border: 1px dotted gray; }
15
<script type="text/javascript">
17
$("#resizable").resizable({
26
<div id="resizable" class="ui-widget-content">
27
<h3 class="ui-widget-header">Animate</h3>
30
</div><!-- End demo -->
32
<div class="demo-description">
34
<p>Animate the resize action using the <code>animate</code> option (boolean). When this option is set to true, drag the outline to the desired location; the element animates to that size on drag stop.</p>
36
</div><!-- End demo-description -->