[rt-users] Remove menu animation (RT 4.0.5)

2012-06-01 Thread Claes Jansson

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.


Also cleared mason cache and restarted apache, after the changes has 
been made...


# find /var/cache/request-tracker4/mason_data/ -type f -delete ; 
/etc/init.d/apache2 restart


Does anyone have an idéa how to do this the right way?

//Claes




Re: [rt-users] Remove menu animation (RT 4.0.5)

2012-06-01 Thread Thomas Sibley
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