// increase the default animation speed to exaggerate the effect
$.fx.speeds._default = 1000;
$(function() {
$('#dialog').dialog({
autoOpen: false,
show: 'blind',
hide: 'explode'
});
$('#opener').click(function() {
$('#dialog').dialog('open');
return false;
});
});
</script>
</head>
<body>
<divclass="demo">
<divid="dialog"title="Basic dialog">
<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>
</div>
<buttonid="opener">Open Dialog</button>
</div><!-- End demo -->
<divclass="demo-description">
<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>