[jQuery] slide functions
[jQuery] slide functions
A suggestion for documentation enhancement...
I have been trying to figure out what the speed parameter can be,
besides "slow" and "fast".
slideUp, slideDown, slideToggle all accept a string or number, and
pass that on to .animate. Digging in the jquery.js source, I found
"slow: 600, fast: 200 }[opt.duration]) || 400;".
Would it be useful to document this such as the API browser? I had no
clue that this referred to milliseconds...
While a good exercise getting into the code, I was not planning to do
that today. ;-)
Gerry
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/