PluginProbe
RSVP and Event Management / 1.1.0
RSVP and Event Management v1.1.0
trunk 0.5.0 0.6.0 0.7.0 0.8.0 0.9.0 0.9.5 1.0.0 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.5.0 1.6.0 1.6.1 1.6.2 1.6.5 1.7.0 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 All 136 releases
rsvp / jquery-ui-1.7.2.custom / development-bundle / demos / resizable / delay-start.html

delay-start.html in RSVP and Event Management 1.1.0, at jquery-ui-1.7.2.custom/development-bundle/demos/resizable/delay-start.html

50 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <title>jQuery UI Resizable - Delay start</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, #resizable2 { width: 150px; height: 150px; padding: 0.5em; }
12 #resizable h3, #resizable2 h3 { text-align: center; margin: 0; }
13 </style>
14 <script type="text/javascript">
15 $(function() {
16 $("#resizable").resizable({
17 delay: 1000
18 });
19
20 $("#resizable2").resizable({
21 distance: 40
22 });
23 });
24 </script>
25 </head>
26 <body>
27 <div class="demo">
28
29 <h3 class="docs">Time delay (ms):</h3>
30 <div id="resizable" class="ui-widget-content">
31 <h3 class="ui-widget-header">Time</h3>
32 </div>
33
34 <h3 class="docs">Distance delay (px):</h3>
35 <div id="resizable2" class="ui-widget-content">
36 <h3 class="ui-widget-header">Distance</h3>
37 </div>
38
39 <!-- ADD DISTANCE DEMO -->
40
41 </div><!-- End demo -->
42
43 <div class="demo-description">
44
45 <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>
46
47 </div><!-- End demo-description -->
48 </body>
49 </html>
50