[jQuery] Re: jQuery UI Tabs Flash

2009-02-08 Thread Chris
> 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/ I fixed it. I need this at the end of document.ready() $('body').append('.ui-tabs-hide {display:none}');

[jQuery] Re: jQuery UI Tabs Flash

2009-02-03 Thread Chris
> The reason I need to use 'position: absolute;left: -1px;' is that > I need to use Sifr on the hidden tab and If I use 'display:none', Sifr > stops working. This is exactly my situation also. Please share if you've found a fix.

[jQuery] Re: jQuery UI Tabs Flash

2009-02-03 Thread slake424
Hi, I am trying to slove a problem. If someone has idea to solve the problem, I would appreciate. I uses the fade in-out effect using the following. $(function() { $('#tabs > ul').tabs({ fx: { opacity: 'toggle', duration: 'fast' } }) }); The effect works fine but the content in the tabs

[jQuery] Re: jQuery UI Tabs Flash

2009-02-02 Thread Chris
> Thanks Klaus. I think what it is is the CSS necessary to make the > scrollbar plugin work. > > .ui-tabs-hide { >         position: absolute; >         left: -1px; >         display: block; > > } > > If it's set to display: none; then it doesn't flash but the content > doesn't show. I did ad

[jQuery] Re: jQuery UI Tabs Flash

2009-02-02 Thread Chris
On Feb 2, 2:09 am, Klaus Hartl wrote: > Add the class "ui-tabs-hide" to your panels beforehand. I will not > encourage bad practice (usage of inline styles). > > Note to self: Make FAQ for this. > > --Klaus Thanks Klaus. I think what it is is the CSS necessary to make the scrollbar plugin work.

[jQuery] Re: jQuery UI Tabs Flash

2009-02-01 Thread Klaus Hartl
Add the class "ui-tabs-hide" to your panels beforehand. I will not encourage bad practice (usage of inline styles). Note to self: Make FAQ for this. --Klaus On 2 Feb., 05:38, Chris wrote: > On Jan 12, 9:29 am, tlphipps wrote: > > > This is because of how browsers work.  What's happening is t

[jQuery] Re: jQuery UI Tabs Flash

2009-02-01 Thread Chris
On Jan 12, 9:29 am, tlphipps wrote: > 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

[jQuery] Re: jQuery UI Tabs Flash

2009-01-12 Thread tlphipps
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 co

[jQuery] Re: jQuery UI Tabs Flash

2009-01-11 Thread Chris
On Jan 11, 12:02 pm, Chris 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?