comparison war/scripts/jQuery/demos/dialog/animated.html @ 3:cf06b77a8bbd

Committed branch of the e4D repos sti-gwt branch 16384. git-svn-id: http://dev.dariah.eu/svn/repos/eu.dariah.de/ap1/sti-gwt-dariah-geobrowser@36 f2b5be40-def6-11e0-8a09-b3c1cc336c6b
author StefanFunk <StefanFunk@f2b5be40-def6-11e0-8a09-b3c1cc336c6b>
date Tue, 17 Jul 2012 13:34:40 +0000
parents
children
comparison
equal deleted inserted replaced
2:2897af43ccc6 3:cf06b77a8bbd
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <title>jQuery UI Dialog - Animation</title>
6 <link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7 <script src="../../jquery-1.5.1.js"></script>
8 <script src="../../external/jquery.bgiframe-2.1.2.js"></script>
9 <script src="../../ui/jquery.ui.core.js"></script>
10 <script src="../../ui/jquery.ui.widget.js"></script>
11 <script src="../../ui/jquery.ui.mouse.js"></script>
12 <script src="../../ui/jquery.ui.draggable.js"></script>
13 <script src="../../ui/jquery.ui.position.js"></script>
14 <script src="../../ui/jquery.ui.resizable.js"></script>
15 <script src="../../ui/jquery.ui.dialog.js"></script>
16 <script src="../../ui/jquery.effects.core.js"></script>
17 <script src="../../ui/jquery.effects.blind.js"></script>
18 <script src="../../ui/jquery.effects.explode.js"></script>
19 <link rel="stylesheet" href="../demos.css">
20 <script>
21 // increase the default animation speed to exaggerate the effect
22 $.fx.speeds._default = 1000;
23 $(function() {
24 $( "#dialog" ).dialog({
25 autoOpen: false,
26 show: "blind",
27 hide: "explode"
28 });
29
30 $( "#opener" ).click(function() {
31 $( "#dialog" ).dialog( "open" );
32 return false;
33 });
34 });
35 </script>
36 </head>
37 <body>
38
39 <div class="demo">
40
41 <div id="dialog" title="Basic dialog">
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>
43 </div>
44
45 <button id="opener">Open Dialog</button>
46
47 </div><!-- End demo -->
48
49
50
51 <div class="demo-description">
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>
53 </div><!-- End demo-description -->
54
55 </body>
56 </html>