From 6b6e1d76e701c80a2431c2806550e6b2160074dc Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 27 Sep 2010 15:42:06 -0400 Subject: Resizable demos: coding standards. --- demos/resizable/animate.html | 28 ++++++++++++++------------- demos/resizable/aspect-ratio.html | 30 +++++++++++++++-------------- demos/resizable/constrain-area.html | 30 +++++++++++++++-------------- demos/resizable/default.html | 28 ++++++++++++++------------- demos/resizable/delay-start.html | 32 +++++++++++++++---------------- demos/resizable/helper.html | 30 +++++++++++++++-------------- demos/resizable/index.html | 4 ++-- demos/resizable/max-min.html | 28 ++++++++++++++------------- demos/resizable/snap-to-grid.html | 28 ++++++++++++++------------- demos/resizable/synchronous-resize.html | 32 ++++++++++++++++--------------- demos/resizable/textarea.html | 34 +++++++++++++++++---------------- demos/resizable/visual-feedback.html | 28 ++++++++++++++------------- 12 files changed, 176 insertions(+), 156 deletions(-) (limited to 'demos/resizable') diff --git a/demos/resizable/animate.html b/demos/resizable/animate.html index 36739e3dd..47dce9da2 100644 --- a/demos/resizable/animate.html +++ b/demos/resizable/animate.html @@ -1,29 +1,30 @@ - + jQuery UI Resizable - Animate - - - - - - - - - +
@@ -32,10 +33,11 @@
-
-

Animate the resize action using the animate 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.

+
+

Animate the resize action using the animate 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.

+ diff --git a/demos/resizable/aspect-ratio.html b/demos/resizable/aspect-ratio.html index ae236ec59..20c992f42 100644 --- a/demos/resizable/aspect-ratio.html +++ b/demos/resizable/aspect-ratio.html @@ -1,28 +1,29 @@ - + jQuery UI Resizable - Preserve aspect ratio - - - - - - - - - +
@@ -31,10 +32,11 @@
-
-

Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)

+
+

Maintain the existing aspect ratio or set a new one to constrain the proportions on resize. Set the aspectRatio option to true, and optionally pass in a new ratio (i.e., 4/3)

+ diff --git a/demos/resizable/constrain-area.html b/demos/resizable/constrain-area.html index 2fdbbd957..559dfebc2 100644 --- a/demos/resizable/constrain-area.html +++ b/demos/resizable/constrain-area.html @@ -1,30 +1,31 @@ - + jQuery UI Resizable - Constrain resize area - - - - - - - - - +
@@ -36,10 +37,11 @@
-
-

Define the boundaries of the resizable area. Use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

+
+

Define the boundaries of the resizable area. Use the containment option to specify a parent DOM element or a jQuery selector, like 'document.'

+ diff --git a/demos/resizable/default.html b/demos/resizable/default.html index a8dfd251c..ef90376cb 100644 --- a/demos/resizable/default.html +++ b/demos/resizable/default.html @@ -1,26 +1,27 @@ - + jQuery UI Resizable - Default functionality - - - - - - - - - +
@@ -29,10 +30,11 @@
-
-

Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.

+
+

Enable any DOM element to be resizable. With the cursor grab the right or bottom border and drag to the desired width or height.

+ diff --git a/demos/resizable/delay-start.html b/demos/resizable/delay-start.html index 16e024230..f9f9ddca3 100644 --- a/demos/resizable/delay-start.html +++ b/demos/resizable/delay-start.html @@ -1,32 +1,33 @@ - + jQuery UI Resizable - Delay start - - - - - - - - - +

Time delay (ms):

@@ -39,14 +40,13 @@

Distance

- -
-
-

Delay the start of resizng for a number of milliseconds with the delay option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the distance option.

+
+

Delay the start of resizng for a number of milliseconds with the delay option; prevent resizing until the cursor is held down and dragged a specifed number of pixels with the distance option.

+ diff --git a/demos/resizable/helper.html b/demos/resizable/helper.html index 49e8114ab..703c8b441 100644 --- a/demos/resizable/helper.html +++ b/demos/resizable/helper.html @@ -1,29 +1,30 @@ - + jQuery UI Resizable - Helper - - - - - - - - - +
@@ -32,10 +33,11 @@
-
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

+
+

Display only an outline of the element while resizing by setting the helper option to a CSS class.

+ diff --git a/demos/resizable/index.html b/demos/resizable/index.html index 93198d03c..45f400621 100644 --- a/demos/resizable/index.html +++ b/demos/resizable/index.html @@ -1,9 +1,9 @@ - + jQuery UI Resizable Demos - + diff --git a/demos/resizable/max-min.html b/demos/resizable/max-min.html index a1c9f6f86..83277bbd0 100644 --- a/demos/resizable/max-min.html +++ b/demos/resizable/max-min.html @@ -1,22 +1,22 @@ - + jQuery UI Resizable - Maximum / minimum size - - - - - - - - - +
@@ -34,10 +35,11 @@
-
-

Limit the resizable element to a maximum or minimum height or width using the maxHeight, maxWidth, minHeight, and minWidth options.

+
+

Limit the resizable element to a maximum or minimum height or width using the maxHeight, maxWidth, minHeight, and minWidth options.

+ diff --git a/demos/resizable/snap-to-grid.html b/demos/resizable/snap-to-grid.html index 91ebbcd6f..6f9449555 100644 --- a/demos/resizable/snap-to-grid.html +++ b/demos/resizable/snap-to-grid.html @@ -1,28 +1,29 @@ - + jQuery UI Resizable - Snap to grid - - - - - - - - - +
@@ -31,10 +32,11 @@
-
-

Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

+
+

Snap the resizable element to a grid. Set the dimensions of grid cells (height and width in pixels) with the grid option.

+ diff --git a/demos/resizable/synchronous-resize.html b/demos/resizable/synchronous-resize.html index 3b3b37241..5a27c825c 100644 --- a/demos/resizable/synchronous-resize.html +++ b/demos/resizable/synchronous-resize.html @@ -1,31 +1,32 @@ - + jQuery UI Resizable - Synchronous resize - - - - - - - - - +
@@ -38,10 +39,11 @@
-
-

Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the alsoResize option.

+
+

Resize multiple elements simultaneously by clicking and dragging the sides of one. Pass a shared selector into the alsoResize option.

+ diff --git a/demos/resizable/textarea.html b/demos/resizable/textarea.html index 2e6e42f9e..b63510d5c 100644 --- a/demos/resizable/textarea.html +++ b/demos/resizable/textarea.html @@ -1,39 +1,41 @@ - + jQuery UI Resizable - Textarea - - - - - - - - - +
-
-

Display only an outline of the element while resizing by setting the helper option to a CSS class.

+
+

Display only an outline of the element while resizing by setting the helper option to a CSS class.

+ diff --git a/demos/resizable/visual-feedback.html b/demos/resizable/visual-feedback.html index 44178423c..63de8bdf8 100644 --- a/demos/resizable/visual-feedback.html +++ b/demos/resizable/visual-feedback.html @@ -1,29 +1,30 @@ - + jQuery UI Resizable - Visual feedback - - - - - - - - - +
@@ -32,10 +33,11 @@
-
-

Instead of showing the actual element during resize, set the ghost option to true to show a semi-transparent part of the element.

+
+

Instead of showing the actual element during resize, set the ghost option to true to show a semi-transparent part of the element.

+ -- cgit v1.2.3