diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 00:12:17 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-21 08:06:24 -0400 |
commit | de242d8ca9bf2b90237c413cb91601541798bae9 (patch) | |
tree | 42658e1e9ed913dbb5a7c11291df74531f503995 /demos/effect/hide.html | |
parent | 009850abbfb78e2334aaf9265abf5a7705a2abf0 (diff) | |
download | jquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.tar.gz jquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.zip |
Effects: Style updates
Ref #14246
Ref gh-1588
Diffstat (limited to 'demos/effect/hide.html')
-rw-r--r-- | demos/effect/hide.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/effect/hide.html b/demos/effect/hide.html index 1fcd6477e..38ac3e157 100644 --- a/demos/effect/hide.html +++ b/demos/effect/hide.html @@ -18,7 +18,7 @@ // get effect type from var selectedEffect = $( "#effectTypes" ).val(); - // most effect types need no options passed by default + // Most effect types need no options passed by default var options = {}; // some effects have required parameters if ( selectedEffect === "scale" ) { @@ -27,18 +27,18 @@ options = { to: { width: 200, height: 60 } }; } - // run the effect + // Run the effect $( "#effect" ).hide( selectedEffect, options, 1000, callback ); }; - // callback function to bring a hidden box back + // Callback function to bring a hidden box back function callback() { setTimeout(function() { $( "#effect" ).removeAttr( "style" ).hide().fadeIn(); }, 1000 ); }; - // set effect from select menu value + // Set effect from select menu value $( "#button" ).on( "click", function() { runEffect(); }); |