From 3a65a632b680f2ac08bba93d90579fd8e842c53a Mon Sep 17 00:00:00 2001 From: Maggie Costello Wachs Date: Fri, 16 Jan 2009 21:47:11 +0000 Subject: reorganized/renamed resizable demos --- demos/resizable/aspect-ratio.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 demos/resizable/aspect-ratio.html (limited to 'demos/resizable/aspect-ratio.html') diff --git a/demos/resizable/aspect-ratio.html b/demos/resizable/aspect-ratio.html new file mode 100644 index 000000000..aa97f4191 --- /dev/null +++ b/demos/resizable/aspect-ratio.html @@ -0,0 +1,37 @@ + + + + jQuery UI Resizable - Preserve aspect ratio + + + + + + + + + +
+ +
+

Preserve aspect ratio

+
+ +
+ +
+ +

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)

+ +
+ + -- cgit v1.2.3