[rt-users] Remove menu animation (RT 4.0.5)
Thomas Sibley
trs at bestpractical.com
Fri Jun 1 11:38:56 EDT 2012
On 06/01/2012 08:44 AM, Claes Jansson wrote:
> Hi!
>
> Using the "aileron" css theme...
>
> I've been trying to remove/speed up the menu animation in rt 4.0.5 but
> without success. What i have tried is to change the sf.defaults{}
> section in "html/NoAuth/js/superfish.js". But i can see no difference in
> speed.
Those are the defaults, but since share/html/NoAuth/css/aileron/InHeader
explicitly passes
speed: 'fast'
the defaults aren't used. 'fast' is a jQuery-ism for 200ms. If you
want it quicker, you can edit the file or even change the default
meaning of fast in jQuery. You could also turn off jQuery animations
entirely by adding a new JS file containing the line:
jQuery.fx.off = true;
Thomas
More information about the rt-users
mailing list