client/player/css/jq-css/demos/dialog/animated.html
changeset 51 2d6866072851
child 57 3a3c15c462f8
equal deleted inserted replaced
50:1ecfe4720da7 51:2d6866072851
       
     1 <!DOCTYPE html>
       
     2 <html lang="en">
       
     3 <head>
       
     4 	<meta charset="UTF-8" />
       
     5 	<title>jQuery UI Dialog - Animation</title>
       
     6 	<link type="text/css" href="../../themes/base/jquery.ui.all.css" rel="stylesheet" />
       
     7 	<script type="text/javascript" src="../../jquery-1.4.2.js"></script>
       
     8 	<script type="text/javascript" src="../../external/jquery.bgiframe-2.1.1.js"></script>
       
     9 	<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
       
    10 	<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
       
    11 	<script type="text/javascript" src="../../ui/jquery.ui.mouse.js"></script>
       
    12 	<script type="text/javascript" src="../../ui/jquery.ui.draggable.js"></script>
       
    13 	<script type="text/javascript" src="../../ui/jquery.ui.position.js"></script>
       
    14 	<script type="text/javascript" src="../../ui/jquery.ui.resizable.js"></script>
       
    15 	<script type="text/javascript" src="../../ui/jquery.ui.dialog.js"></script>
       
    16 	<script type="text/javascript" src="../../ui/jquery.effects.core.js"></script>
       
    17 	<script type="text/javascript" src="../../ui/jquery.effects.blind.js"></script>
       
    18 	<script type="text/javascript" src="../../ui/jquery.effects.explode.js"></script>
       
    19 	<link type="text/css" href="../demos.css" rel="stylesheet" />
       
    20 	<script type="text/javascript">
       
    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 <div class="demo-description">
       
    50 
       
    51 <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>
       
    52 
       
    53 </div><!-- End demo-description -->
       
    54 
       
    55 </body>
       
    56 </html>