aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/default.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/effect/default.html')
-rw-r--r--demos/effect/default.html8
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;