annotate jquery-ui/development-bundle/demos/dialog/animated.html @ 0:b2e4605f20b2

beta version
author dwinter
date Thu, 30 Jun 2011 09:07:49 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
1 <!DOCTYPE html>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
2 <html lang="en">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
3 <head>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
4 <meta charset="utf-8">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
5 <title>jQuery UI Dialog - Animation</title>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
7 <script src="../../jquery-1.5.1.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
8 <script src="../../external/jquery.bgiframe-2.1.2.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
9 <script src="../../ui/jquery.ui.core.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
10 <script src="../../ui/jquery.ui.widget.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
11 <script src="../../ui/jquery.ui.mouse.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
12 <script src="../../ui/jquery.ui.draggable.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
13 <script src="../../ui/jquery.ui.position.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
14 <script src="../../ui/jquery.ui.resizable.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
15 <script src="../../ui/jquery.ui.dialog.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
16 <script src="../../ui/jquery.effects.core.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
17 <script src="../../ui/jquery.effects.blind.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
18 <script src="../../ui/jquery.effects.explode.js"></script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
19 <link rel="stylesheet" href="../demos.css">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
20 <script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
21 // increase the default animation speed to exaggerate the effect
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
22 $.fx.speeds._default = 1000;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
23 $(function() {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
24 $( "#dialog" ).dialog({
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
25 autoOpen: false,
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
26 show: "blind",
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
27 hide: "explode"
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
28 });
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
29
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
30 $( "#opener" ).click(function() {
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
31 $( "#dialog" ).dialog( "open" );
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
32 return false;
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
33 });
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
34 });
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
35 </script>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
36 </head>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
37 <body>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
38
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
39 <div class="demo">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
40
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
41 <div id="dialog" title="Basic dialog">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
42 <p>This is an animated dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
43 </div>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
44
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
45 <button id="opener">Open Dialog</button>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
46
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
47 </div><!-- End demo -->
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
48
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
49
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
50
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
51 <div class="demo-description">
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
52 <p>Dialogs may be animated by specifying an effect for the show and/or hide properties. You must include the individual effects file for any effects you would like to use.</p>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
53 </div><!-- End demo-description -->
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
54
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
55 </body>
b2e4605f20b2 beta version
dwinter
parents:
diff changeset
56 </html>