aboutsummaryrefslogtreecommitdiffstats
path: root/demos/dialog/animated.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/dialog/animated.html')
-rw-r--r--demos/dialog/animated.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/demos/dialog/animated.html b/demos/dialog/animated.html
index 8a27150de..92d7b642d 100644
--- a/demos/dialog/animated.html
+++ b/demos/dialog/animated.html
@@ -5,7 +5,6 @@
<title>jQuery UI Dialog - Animation</title>
<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
<script src="../../jquery-1.8.2.js"></script>
- <script src="../../external/jquery.bgiframe-2.1.2.js"></script>
<script src="../../ui/jquery.ui.core.js"></script>
<script src="../../ui/jquery.ui.widget.js"></script>
<script src="../../ui/jquery.ui.mouse.js"></script>
@@ -18,18 +17,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>