*\r
* @name slideDown\r
* @type jQuery\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
* @see slideUp(String|Number,Function)\r
*\r
* @name slideUp\r
* @type jQuery\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
* @see slideDown(String|Number,Function)\r
*\r
* @name slideToggle\r
* @type jQuery\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
* @see slideDown(String|Number,Function)\r
* @see slideUp(String|Number,Function)\r
*/\r
- slideToggle: function(speed,callback){\r
+ slideToggle: function(speed, callback){\r
return this.each(function(){\r
var state = jQuery(this).is(":hidden") ? "show" : "hide";\r
jQuery(this).animate({height: state}, speed, callback);\r
*\r
* @name fadeIn\r
* @type jQuery\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
* @see fadeOut(String|Number,Function)\r
* @see fadeTo(String|Number,Number,Function)\r
*/\r
- fadeIn: function(speed,callback){\r
+ fadeIn: function(speed, callback){\r
return this.animate({opacity: "show"}, speed, callback);\r
},\r
\r
*\r
* @name fadeOut\r
* @type jQuery\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
* @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
* @see fadeIn(String|Number,Function)\r
* @see fadeTo(String|Number,Number,Function)\r
*/\r
- fadeOut: function(speed,callback){\r
+ fadeOut: function(speed, callback){\r
return this.animate({opacity: "hide"}, speed, callback);\r
},\r
\r
* @name animate\r
* @type jQuery\r
* @param Hash params A set of style attributes that you wish to animate, and to what end.\r
- * @param String|Number speed A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
- * @param Function callback A function to be executed whenever the animation completes.\r
+ * @param String|Number speed (optional) A string representing one of the three predefined speeds ("slow", "normal", or "fast") or the number of milliseconds to run the animation (e.g. 1000).\r
+ * @param Function callback (optional) A function to be executed whenever the animation completes.\r
* @cat Effects/Animations\r
*/\r
animate: function(prop,speed,callback) {\r