Skip to main content

Bug Tracker

Side navigation

#890 closed enhancement (fixed)

Opened January 28, 2007 10:35PM UTC

Closed February 05, 2010 08:24PM UTC

Documentation enhancement

Reported by: Gerry Danen Owned by:
Priority: minor Milestone:
Component: docs Version:
Keywords: slide animation Cc:
Blocked by: Blocking:
Description

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...

Jörn suggested I post this here.

Attachments (0)
Change History (1)

Changed February 05, 2010 08:24PM UTC by john comment:1

description: 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...\ \ Jörn suggested I post this here.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... \ \ Jörn suggested I post this here.
need: → Review
resolution: → fixed
status: newclosed