aboutsummaryrefslogtreecommitdiffstats
path: root/include/jquery_ui/development-bundle/demos/resizable
diff options
context:
space:
mode:
Diffstat (limited to 'include/jquery_ui/development-bundle/demos/resizable')
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/animate.html43
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html42
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/constrain-area.html47
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/default.html40
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/delay-start.html52
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/helper.html43
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/index.html28
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/max-min.html45
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html42
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html49
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/textarea.html41
-rw-r--r--include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html43
12 files changed, 0 insertions, 515 deletions
diff --git a/include/jquery_ui/development-bundle/demos/resizable/animate.html b/include/jquery_ui/development-bundle/demos/resizable/animate.html
deleted file mode 100644
index ebb47a2c7..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/animate.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Animate</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- .ui-resizable-helper { border: 1px dotted gray; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- animate: true
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html b/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html
deleted file mode 100644
index 959e4f77b..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/aspect-ratio.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Preserve aspect ratio</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 160px; height: 90px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- aspectRatio: 16 / 9
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html b/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html
deleted file mode 100644
index 86d3bd70b..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/constrain-area.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Constrain resize area</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #container { width: 300px; height: 300px; }
- #container h3 { text-align: center; margin: 0; margin-bottom: 10px; }
- #resizable { background-position: top left; width: 150px; height: 150px; }
- #resizable, #container { padding: 0.5em; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- containment: "#container"
- });
- });
- </script>
-</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">
- <h3 class="ui-widget-header">Resizable</h3>
- </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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/default.html b/include/jquery_ui/development-bundle/demos/resizable/default.html
deleted file mode 100644
index 6f64dc585..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/default.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Default functionality</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable();
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/delay-start.html b/include/jquery_ui/development-bundle/demos/resizable/delay-start.html
deleted file mode 100644
index 6ca17f76e..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/delay-start.html
+++ /dev/null
@@ -1,52 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Delay start</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable, #resizable2 { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3, #resizable2 h3 { text-align: center; margin: 0; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- delay: 1000
- });
-
- $( "#resizable2" ).resizable({
- distance: 40
- });
- });
- </script>
-</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>
-</div>
-
-<h3 class="docs">Distance delay (px):</h3>
-<div id="resizable2" class="ui-widget-content">
- <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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/helper.html b/include/jquery_ui/development-bundle/demos/resizable/helper.html
deleted file mode 100644
index 981ee9536..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/helper.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Helper</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- .ui-resizable-helper { border: 2px dotted #00F; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- helper: "ui-resizable-helper"
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/index.html b/include/jquery_ui/development-bundle/demos/resizable/index.html
deleted file mode 100644
index 45f400621..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/index.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!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>
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/max-min.html b/include/jquery_ui/development-bundle/demos/resizable/max-min.html
deleted file mode 100644
index c4e5441b5..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/max-min.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Maximum / minimum size</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 200px; height: 150px; padding: 5px; }
- #resizable h3 { text-align: center; margin: 0; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- maxHeight: 250,
- maxWidth: 350,
- minHeight: 150,
- minWidth: 200
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html b/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html
deleted file mode 100644
index d81072749..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/snap-to-grid.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Snap to grid</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- grid: 50
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html b/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html
deleted file mode 100644
index 7a2421200..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/synchronous-resize.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Synchronous resize</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { background-position: top left; }
- #resizable, #also { width: 150px; height: 120px; padding: 0.5em; }
- #resizable h3, #also h3 { text-align: center; margin: 0; }
- #also { margin-top: 1em; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- alsoResize: "#also"
- });
- $( "#also" ).resizable();
- });
- </script>
-</head>
-<body>
-
-<div class="demo">
-
-<div id="resizable" class="ui-widget-header">
- <h3 class="ui-state-active">Resize</h3>
-</div>
-
-<div id="also" class="ui-widget-content">
- <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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/textarea.html b/include/jquery_ui/development-bundle/demos/resizable/textarea.html
deleted file mode 100644
index f7582d453..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/textarea.html
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Textarea</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- .ui-resizable-se {
- bottom: 17px;
- }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- handles: "se"
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>
diff --git a/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html b/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html
deleted file mode 100644
index 06765defe..000000000
--- a/include/jquery_ui/development-bundle/demos/resizable/visual-feedback.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <meta charset="utf-8">
- <title>jQuery UI Resizable - Visual feedback</title>
- <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
- <script src="../../jquery-1.7.2.js"></script>
- <script src="../../ui/jquery.ui.core.js"></script>
- <script src="../../ui/jquery.ui.widget.js"></script>
- <script src="../../ui/jquery.ui.mouse.js"></script>
- <script src="../../ui/jquery.ui.resizable.js"></script>
- <link rel="stylesheet" href="../demos.css">
- <style>
- #resizable { width: 150px; height: 150px; padding: 0.5em; }
- #resizable h3 { text-align: center; margin: 0; }
- .ui-resizable-ghost { border: 1px dotted gray; }
- </style>
- <script>
- $(function() {
- $( "#resizable" ).resizable({
- ghost: true
- });
- });
- </script>
-</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 -->
-
-</body>
-</html>