diff options
-rw-r--r-- | demos/addClass/default.html | 1 | ||||
-rw-r--r-- | demos/effect/default.html | 3 | ||||
-rw-r--r-- | demos/hide/default.html | 1 | ||||
-rw-r--r-- | demos/removeClass/default.html | 1 | ||||
-rw-r--r-- | demos/show/default.html | 1 | ||||
-rw-r--r-- | demos/switchClass/default.html | 5 | ||||
-rw-r--r-- | demos/toggle/default.html | 2 | ||||
-rw-r--r-- | demos/toggleClass/default.html | 1 |
8 files changed, 11 insertions, 4 deletions
diff --git a/demos/addClass/default.html b/demos/addClass/default.html index 6341e8132..7565678e2 100644 --- a/demos/addClass/default.html +++ b/demos/addClass/default.html @@ -16,6 +16,7 @@ $(function() { $("#button").click(function() { $('#effect').addClass('newClass', 1000, callback); + return false; }); function callback(){ diff --git a/demos/effect/default.html b/demos/effect/default.html index 66b3adf23..4187080cd 100644 --- a/demos/effect/default.html +++ b/demos/effect/default.html @@ -4,7 +4,7 @@ <title>jQuery UI Effects - Effect Demo</title> <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" /> <script type="text/javascript" src="../../jquery-1.3.2.js"></script> - <script type="text/javascript" src="../../ui/effects.core.js"></script> + <script type="text/javascript" src="../../ui/effects.core.js"></script> <script type="text/javascript" src="../../ui/effects.blind.js"></script> <script type="text/javascript" src="../../ui/effects.bounce.js"></script> <script type="text/javascript" src="../../ui/effects.clip.js"></script> @@ -54,6 +54,7 @@ //set effect from select menu value $("#button").click(function() { runEffect(); + return false; }); }); </script> diff --git a/demos/hide/default.html b/demos/hide/default.html index 2371196dc..a4a5ff285 100644 --- a/demos/hide/default.html +++ b/demos/hide/default.html @@ -54,6 +54,7 @@ //set effect from select menu value $("#button").click(function() { runEffect(); + return false; }); }); diff --git a/demos/removeClass/default.html b/demos/removeClass/default.html index 56bf09936..9b08348b4 100644 --- a/demos/removeClass/default.html +++ b/demos/removeClass/default.html @@ -16,6 +16,7 @@ $(function() { $("#button").click(function() { $('#effect').removeClass('newClass', 1000, callback); + return false; }); function callback(){ diff --git a/demos/show/default.html b/demos/show/default.html index 3a9da8c0c..f2461a7d7 100644 --- a/demos/show/default.html +++ b/demos/show/default.html @@ -54,6 +54,7 @@ //set effect from select menu value $("#button").click(function() { runEffect(); + return false; }); $("#effect").fadeOut(); diff --git a/demos/switchClass/default.html b/demos/switchClass/default.html index fd4780d96..eb59da648 100644 --- a/demos/switchClass/default.html +++ b/demos/switchClass/default.html @@ -17,8 +17,9 @@ <script type="text/javascript"> $(function() { $("#button").click(function(){ - $(".newClass").switchClass('newClass', 'anotherNewClass', 1000); - $(".anotherNewClass").switchClass('anotherNewClass', 'newClass', 1000); + $(".newClass").switchClass('newClass', 'anotherNewClass', 1000); + $(".anotherNewClass").switchClass('anotherNewClass', 'newClass', 1000); + return false; }); }); </script> diff --git a/demos/toggle/default.html b/demos/toggle/default.html index d92f3d5cc..ffb464b36 100644 --- a/demos/toggle/default.html +++ b/demos/toggle/default.html @@ -45,8 +45,8 @@ //set effect from select menu value $("#button").click(function() { runEffect(); + return false; }); - }); </script> diff --git a/demos/toggleClass/default.html b/demos/toggleClass/default.html index 7a3dbb24e..7f5bf25f8 100644 --- a/demos/toggleClass/default.html +++ b/demos/toggleClass/default.html @@ -17,6 +17,7 @@ $(function() { $("#button").click(function() { $('#effect').toggleClass('newClass', 1000); + return false; }); }); </script> |