i'm using the jquery fadein fadeout with the slow option, but it's still a little too fast for me. now i've read that you can only choose between fast and slow, but is there a way to make it slower?
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- jQuery add and remove delay
- Include empty value fields in jQuery .serialize()
- Disable Browser onUnload on certain links?
- how to get selected text from iframe with javascri
I really dont know how slow you want it but I recoomend something between 2500-4000
There we go
You have two options. The first is to use a number of milliseconds in the call:
The second option is to define a custom speed, or to redefine a jQuery native speed:
You can then call them as normal:
This allows you to redefine speeds on an application-wide basis.
Use a number of milliseconds rather than 'fast' or 'slow'
e.g.
See http://api.jquery.com/fadeIn/
In addition to 'slow'/'fast', the fadeIn function also takes a timespan in milliseconds so you can make it take however long you want: