From 75ad7e4bd7d69243e7e5281c2642f00478fb072d Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 19 Feb 2014 18:02:09 +0200 Subject: Added tags, jquery UI --- .../static/js/ui/demos/resizable/aspect-ratio.html | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 apps/it/static/js/ui/demos/resizable/aspect-ratio.html (limited to 'apps/it/static/js/ui/demos/resizable/aspect-ratio.html') diff --git a/apps/it/static/js/ui/demos/resizable/aspect-ratio.html b/apps/it/static/js/ui/demos/resizable/aspect-ratio.html new file mode 100644 index 0000000..e5cf5ba --- /dev/null +++ b/apps/it/static/js/ui/demos/resizable/aspect-ratio.html @@ -0,0 +1,35 @@ + + + + + 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