diff options
Diffstat (limited to 'demos/resizable')
-rw-r--r-- | demos/resizable/animate.html | 11 | ||||
-rw-r--r-- | demos/resizable/aspect-ratio.html | 11 | ||||
-rw-r--r-- | demos/resizable/constrain-area.html | 11 | ||||
-rw-r--r-- | demos/resizable/default.html | 11 | ||||
-rw-r--r-- | demos/resizable/delay-start.html | 13 | ||||
-rw-r--r-- | demos/resizable/helper.html | 11 | ||||
-rw-r--r-- | demos/resizable/index.html | 32 | ||||
-rw-r--r-- | demos/resizable/max-min.html | 11 | ||||
-rw-r--r-- | demos/resizable/snap-to-grid.html | 11 | ||||
-rw-r--r-- | demos/resizable/synchronous-resize.html | 11 | ||||
-rw-r--r-- | demos/resizable/textarea.html | 11 | ||||
-rw-r--r-- | demos/resizable/visual-feedback.html | 11 |
12 files changed, 37 insertions, 118 deletions
diff --git a/demos/resizable/animate.html b/demos/resizable/animate.html index 189abd4d1..b198be633 100644 --- a/demos/resizable/animate.html +++ b/demos/resizable/animate.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -25,19 +25,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Animate</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <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> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/aspect-ratio.html b/demos/resizable/aspect-ratio.html index 0f5db7a01..e02dbcfec 100644 --- a/demos/resizable/aspect-ratio.html +++ b/demos/resizable/aspect-ratio.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -24,19 +24,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Preserve aspect ratio</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the <code>aspectRatio</code> option to true, and optionally pass in a new ratio (i.e., 4/3)</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/constrain-area.html b/demos/resizable/constrain-area.html index 02c8b53e4..51d0fe051 100644 --- a/demos/resizable/constrain-area.html +++ b/demos/resizable/constrain-area.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -26,8 +26,6 @@ </head> <body> -<div class="demo"> - <div id="container" class="ui-widget-content"> <h3 class="ui-widget-header">Containment</h3> <div id="resizable" class="ui-state-active"> @@ -35,13 +33,8 @@ </div> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Define the boundaries of the resizable area. Use the <code>containment</code> option to specify a parent DOM element or a jQuery selector, like 'document.'</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/default.html b/demos/resizable/default.html index 93d423816..fe273e469 100644 --- a/demos/resizable/default.html +++ b/demos/resizable/default.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -22,19 +22,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Resizable</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/delay-start.html b/demos/resizable/delay-start.html index 327188351..29b33d800 100644 --- a/demos/resizable/delay-start.html +++ b/demos/resizable/delay-start.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -19,7 +19,7 @@ $( "#resizable" ).resizable({ delay: 1000 }); - + $( "#resizable2" ).resizable({ distance: 40 }); @@ -28,8 +28,6 @@ </head> <body> -<div class="demo"> - <h3 class="docs">Time delay (ms):</h3> <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Time</h3> @@ -40,13 +38,8 @@ <h3 class="ui-widget-header">Distance</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Delay the start of resizng for a number of milliseconds with the <code>delay</code> option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the <code>distance</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/helper.html b/demos/resizable/helper.html index 644737d68..18d89255f 100644 --- a/demos/resizable/helper.html +++ b/demos/resizable/helper.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -25,19 +25,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Helper</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/index.html b/demos/resizable/index.html index 45f400621..7c626e253 100644 --- a/demos/resizable/index.html +++ b/demos/resizable/index.html @@ -1,28 +1,24 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>jQuery UI Resizable Demos</title> - <link rel="stylesheet" href="../demos.css"> </head> <body> -<div class="demos-nav"> - <h4>Examples</h4> - <ul> - <li class="demo-config-on"><a href="default.html">Default functionality</a></li> - <li><a href="aspect-ratio.html">Preserve aspect ratio</a></li> - <li><a href="max-min.html">Maximum / minimum size</a></li> - <li><a href="constrain-area.html">Constrain resize area</a></li> - <li><a href="delay-start.html">Delay start</a></li> - <li><a href="snap-to-grid.html">Snap to grid</a></li> - <li><a href="visual-feedback.html">Visual feedback</a></li> - <li><a href="synchronous-resize.html">Synchronous resize</a></li> - <li><a href="animate.html">Animate</a></li> - <li><a href="helper.html">Resize Helper</a></li> - <li><a href="textarea.html">Textarea</a></li> - </ul> -</div> +<ul> + <li><a href="default.html">Default functionality</a></li> + <li><a href="aspect-ratio.html">Preserve aspect ratio</a></li> + <li><a href="max-min.html">Maximum / minimum size</a></li> + <li><a href="constrain-area.html">Constrain resize area</a></li> + <li><a href="delay-start.html">Delay start</a></li> + <li><a href="snap-to-grid.html">Snap to grid</a></li> + <li><a href="visual-feedback.html">Visual feedback</a></li> + <li><a href="synchronous-resize.html">Synchronous resize</a></li> + <li><a href="animate.html">Animate</a></li> + <li><a href="helper.html">Resize Helper</a></li> + <li><a href="textarea.html">Textarea</a></li> +</ul> </body> </html> diff --git a/demos/resizable/max-min.html b/demos/resizable/max-min.html index 9d1da8e22..1baa43de6 100644 --- a/demos/resizable/max-min.html +++ b/demos/resizable/max-min.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -27,19 +27,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Resize larger / smaller</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Limit the resizable element to a maximum or minimum height or width using the <code>maxHeight</code>, <code>maxWidth</code>, <code>minHeight</code>, and <code>minWidth</code> options.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/snap-to-grid.html b/demos/resizable/snap-to-grid.html index 1190d1f57..450f7aa3a 100644 --- a/demos/resizable/snap-to-grid.html +++ b/demos/resizable/snap-to-grid.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -24,19 +24,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Grid</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the <code>grid</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/synchronous-resize.html b/demos/resizable/synchronous-resize.html index be8341f61..c28d8ef16 100644 --- a/demos/resizable/synchronous-resize.html +++ b/demos/resizable/synchronous-resize.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -27,8 +27,6 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-header"> <h3 class="ui-state-active">Resize</h3> </div> @@ -37,13 +35,8 @@ <h3 class="ui-widget-header">will also resize</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the <code>alsoResize</code> option.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/textarea.html b/demos/resizable/textarea.html index 58be75722..39658a46a 100644 --- a/demos/resizable/textarea.html +++ b/demos/resizable/textarea.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -25,17 +25,10 @@ </head> <body> -<div class="demo"> - <textarea id="resizable" rows="5" cols="20"></textarea> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Display only an outline of the element while resizing by setting the <code>helper</code> option to a CSS class.</p> -</div><!-- End demo-description --> - +</div> </body> </html> diff --git a/demos/resizable/visual-feedback.html b/demos/resizable/visual-feedback.html index 096a65cc4..f8288f073 100644 --- a/demos/resizable/visual-feedback.html +++ b/demos/resizable/visual-feedback.html @@ -1,4 +1,4 @@ -<!DOCTYPE html> +<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> @@ -25,19 +25,12 @@ </head> <body> -<div class="demo"> - <div id="resizable" class="ui-widget-content"> <h3 class="ui-widget-header">Ghost</h3> </div> -</div><!-- End demo --> - - - <div class="demo-description"> <p>Instead of showing the actual element during resize, set the <code>ghost</code> option to true to show a semi-transparent part of the element.</p> -</div><!-- End demo-description --> - +</div> </body> </html> |