diff options
Diffstat (limited to 'demos/dialog/animated.html')
-rw-r--r-- | demos/dialog/animated.html | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/demos/dialog/animated.html b/demos/dialog/animated.html index 8a27150de..808d0e926 100644 --- a/demos/dialog/animated.html +++ b/demos/dialog/animated.html @@ -18,18 +18,21 @@ <script src="../../ui/jquery.ui.effect-explode.js"></script> <link rel="stylesheet" href="../demos.css"> <script> - // increase the default animation speed to exaggerate the effect - $.fx.speeds._default = 1000; $(function() { $( "#dialog" ).dialog({ autoOpen: false, - show: "blind", - hide: "explode" + show: { + effect: "blind", + duration: 1000 + }, + hide: { + effect: "explode", + duration: 1000 + } }); $( "#opener" ).click(function() { $( "#dialog" ).dialog( "open" ); - return false; }); }); </script> |