Turn off Jquery UI Accordion animation only during page load

Posted by Matt H on Stack Overflow See other posts from Stack Overflow or by Matt H
Published on 2010-04-06T23:01:56Z Indexed on 2010/04/06 23:33 UTC
Read the original article Hit count: 227

Filed under:

I'd like to turn off the accordian animation during page load, and then turn it back on after the page is loaded.

Basically I've got multiple forms inside the accordion sections and when submitted the page gets reloaded and the relevant section is reloaded. But during the reload the animation is triggered which looks a little ugly. But I like it when the page is not being loaded.

How do I achieve this effect?

© Stack Overflow or respective owner

Related posts about jquery-ui