From af15f2c4a192dea02aab9e519defc68c71763ec4 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 22 Nov 2010 14:34:55 +0100 Subject: jquery ui --- .../demos/resizable/aspect-ratio.html | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 static/development-bundle/demos/resizable/aspect-ratio.html (limited to 'static/development-bundle/demos/resizable/aspect-ratio.html') diff --git a/static/development-bundle/demos/resizable/aspect-ratio.html b/static/development-bundle/demos/resizable/aspect-ratio.html new file mode 100644 index 0000000..3c3714a --- /dev/null +++ b/static/development-bundle/demos/resizable/aspect-ratio.html @@ -0,0 +1,42 @@ + + + + + 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.1