diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:39:08 +0200 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2014-04-24 19:39:08 +0200 |
commit | 7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77 (patch) | |
tree | bac24883214efd7113f8e02097e2699f9cfdd95a /demos | |
parent | e5008c2de1f08810d77a9d75cdcfe2b7af3d090f (diff) | |
download | jquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.tar.gz jquery-ui-7d0ca5e37dcf1b8dd1e201df2693e851da8ebb77.zip |
Button demo: Replace anchors with more appropriate buttons
Diffstat (limited to 'demos')
-rw-r--r-- | demos/effect/addClass.html | 3 | ||||
-rw-r--r-- | demos/effect/animate.html | 2 | ||||
-rw-r--r-- | demos/effect/hide.html | 3 | ||||
-rw-r--r-- | demos/effect/removeClass.html | 3 | ||||
-rw-r--r-- | demos/effect/show.html | 3 | ||||
-rw-r--r-- | demos/effect/switchClass.html | 3 | ||||
-rw-r--r-- | demos/effect/toggle.html | 3 | ||||
-rw-r--r-- | demos/effect/toggleClass.html | 3 |
8 files changed, 8 insertions, 15 deletions
diff --git a/demos/effect/addClass.html b/demos/effect/addClass.html index f292ec4b6..f435da3a9 100644 --- a/demos/effect/addClass.html +++ b/demos/effect/addClass.html @@ -17,7 +17,6 @@ $(function() { $( "#button" ).click(function() { $( "#effect" ).addClass( "newClass", 1000, callback ); - return false; }); function callback() { @@ -36,7 +35,7 @@ </div> </div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>This demo adds a class which animates: text-indent, letter-spacing, width, height, padding, margin, and font-size.</p> diff --git a/demos/effect/animate.html b/demos/effect/animate.html index 5f6d0c22b..e5f45ed3c 100644 --- a/demos/effect/animate.html +++ b/demos/effect/animate.html @@ -46,7 +46,7 @@ </div> </div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Toggle Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Toggle Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/hide.html b/demos/effect/hide.html index 678aea1e3..75fdd01b3 100644 --- a/demos/effect/hide.html +++ b/demos/effect/hide.html @@ -54,7 +54,6 @@ // set effect from select menu value $( "#button" ).click(function() { runEffect(); - return false; }); }); </script> @@ -86,7 +85,7 @@ <option value="slide">Slide</option> </select> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/removeClass.html b/demos/effect/removeClass.html index a96eb2d86..a5e943d1a 100644 --- a/demos/effect/removeClass.html +++ b/demos/effect/removeClass.html @@ -17,7 +17,6 @@ $(function() { $( "#button" ).click(function() { $( "#effect" ).removeClass( "newClass", 1000, callback ); - return false; }); function callback() { @@ -36,7 +35,7 @@ </div> </div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/show.html b/demos/effect/show.html index 03b3e434a..cde360919 100644 --- a/demos/effect/show.html +++ b/demos/effect/show.html @@ -54,7 +54,6 @@ // set effect from select menu value $( "#button" ).click(function() { runEffect(); - return false; }); $( "#effect" ).hide(); @@ -88,7 +87,7 @@ <option value="slide">Slide</option> </select> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/switchClass.html b/demos/effect/switchClass.html index f4ced7ca4..65de87f3c 100644 --- a/demos/effect/switchClass.html +++ b/demos/effect/switchClass.html @@ -19,7 +19,6 @@ $( "#button" ).click(function(){ $( ".newClass" ).switchClass( "newClass", "anotherNewClass", 1000 ); $( ".anotherNewClass" ).switchClass( "anotherNewClass", "newClass", 1000 ); - return false; }); }); </script> @@ -31,7 +30,7 @@ Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede. </div> </div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/toggle.html b/demos/effect/toggle.html index 3af5536c1..5363abe49 100644 --- a/demos/effect/toggle.html +++ b/demos/effect/toggle.html @@ -62,7 +62,6 @@ // set effect from select menu value $( "#button" ).click(function() { runEffect(); - return false; }); }); </script> @@ -94,7 +93,7 @@ <option value="slide">Slide</option> </select> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> diff --git a/demos/effect/toggleClass.html b/demos/effect/toggleClass.html index c74f7bb5d..182f2121c 100644 --- a/demos/effect/toggleClass.html +++ b/demos/effect/toggleClass.html @@ -17,7 +17,6 @@ $(function() { $( "#button" ).click(function() { $( "#effect" ).toggleClass( "newClass", 1000 ); - return false; }); }); </script> @@ -30,7 +29,7 @@ </div> </div> -<a href="#" id="button" class="ui-state-default ui-corner-all">Run Effect</a> +<button id="button" class="ui-state-default ui-corner-all">Run Effect</button> <div class="demo-description"> <p>Click the button above to preview the effect.</p> |