David Carpenter
David Carpenter

Reputation: 1680

Speed up Mootools accordion

I am using the Mootools accordion for a project and would like to speed up the transitions. Does anyone know of an easy way to do this?

Upvotes: 1

Views: 86

Answers (1)

Rodney G
Rodney G

Reputation: 4826

It's the duration option inherited from the mootools Fx class. So, your initializer might look like this:

var myAccordion = new Fx.Accordion(togglers, elements, { duration: 250 });

http://mootools.net/docs/more/Fx/Fx.Accordion

http://mootools.net/docs/core/Fx/Fx

Upvotes: 3

Related Questions