diff options
Diffstat (limited to 'static/development-bundle/demos/resizable/visual-feedback.html')
-rw-r--r-- | static/development-bundle/demos/resizable/visual-feedback.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/static/development-bundle/demos/resizable/visual-feedback.html b/static/development-bundle/demos/resizable/visual-feedback.html new file mode 100644 index 0000000..c3edf9a --- /dev/null +++ b/static/development-bundle/demos/resizable/visual-feedback.html | |||
@@ -0,0 +1,38 @@ | |||
1 | <!doctype html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <title>jQuery UI Resizable - Visual feedback</title> | ||
5 | <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" /> | ||
6 | <script type="text/javascript" src="../../jquery-1.3.2.js"></script> | ||
7 | <script type="text/javascript" src="../../ui/ui.core.js"></script> | ||
8 | <script type="text/javascript" src="../../ui/ui.resizable.js"></script> | ||
9 | <link type="text/css" href="../demos.css" rel="stylesheet" /> | ||
10 | <style type="text/css"> | ||
11 | #resizable { width: 150px; height: 150px; padding: 0.5em; } | ||
12 | #resizable h3 { text-align: center; margin: 0; } | ||
13 | .ui-resizable-ghost { border: 1px dotted gray; } | ||
14 | </style> | ||
15 | <script type="text/javascript"> | ||
16 | $(function() { | ||
17 | $("#resizable").resizable({ | ||
18 | ghost: true | ||
19 | }); | ||
20 | }); | ||
21 | </script> | ||
22 | </head> | ||
23 | <body> | ||
24 | <div class="demo"> | ||
25 | |||
26 | <div id="resizable" class="ui-widget-content"> | ||
27 | <h3 class="ui-widget-header">Ghost</h3> | ||
28 | </div> | ||
29 | |||
30 | </div><!-- End demo --> | ||
31 | |||
32 | <div class="demo-description"> | ||
33 | |||
34 | <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> | ||
35 | |||
36 | </div><!-- End demo-description --> | ||
37 | </body> | ||
38 | </html> | ||