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/default.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/default.html')
-rw-r--r-- | demos/effect/default.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/effect/default.html b/demos/effect/default.html index bd28652a6..59479539f 100644 --- a/demos/effect/default.html +++ b/demos/effect/default.html @@ -19,7 +19,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" ) { @@ -30,18 +30,18 @@ options = { to: { width: 200, height: 60 } }; } - // run the effect + // Run the effect $( "#effect" ).effect( selectedEffect, options, 500, 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(); return false; |