Turn off Jquery UI Accordion animation only during page load
- by Matt H
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?