I am using the JQuery UI accordion control that gets initialized in the $(document).ready() function. When moving to different views, I am seeing a flicker on this menu. Is there a way around this?
A:
I used to see this in IE6. In my case I greatly improved this by eliminating tables in the page design. Even separating header row and content row into two separate table tags almost eliminated the flickering.
Also, I think it may matter where you put the document.ready handler; I think if you put it after the accordion/body you'll see the flickering because script will only be executed after the accordion content is rendered.
queen3
2010-01-10 15:36:58
`document.ready()` gets fired when the DOM is ready. It doesn't matter where you place the code in your HTML.
roosteronacid
2010-01-10 16:01:08