This is because of how browsers work.  What's happening is that the
browser is downloading all the HTML and beginning to display it.  Then
when the DOM is 'ready', jquery is running the code you've specified
which creates the tab interface.  To avoid this issue you have to use
CSS to 'hide' the content that you don't want displayed on page load.

So if you have 3 tabs, you would use standard CSS to 'hide' (display:
none) the 2nd and 3rd tabs so the browser would never display them to
begin with.  Then when the tabs load, jquery takes over showing/hiding
the content.

On Jan 11, 10:24 pm, Chris <[email protected]> wrote:
> On Jan 11, 12:02 pm, Chris <[email protected]> wrote:
>
> > I searched the archives, but I couldn't find an answer. For some
> > reason the tabs, when initialized flashes, three times.  Any idea why?
>
> >http://www.chris-gwen.com/
>
> No ideas?

Reply via email to