[jQuery] Re: JavaScript Loading Question

2009-03-17 Thread Eric Garside
Also, as an aside, I'm not sure the browser handles Javascript last, just asynchronously. If you have: I'm pretty sure it will fetch your css first, then wait on the JS, then load the next CSS file. On Mar 17, 8:40 pm, MonkeyBall2010 wrote: > OK, this did the trick, thanks! > > On Mar 16,

[jQuery] Re: JavaScript Loading Question

2009-03-17 Thread MonkeyBall2010
OK, this did the trick, thanks! On Mar 16, 7:15 pm, Karl Swedberg wrote: > This is the best way I've found to initially hide content with   > JavaScript without having the flash of unstyled content. > > http://www.learningjquery.com/2008/10/1-awesome-way-to-avoid-the-not-... > > --Karl > > _

[jQuery] Re: JavaScript Loading Question

2009-03-16 Thread Karl Swedberg
This is the best way I've found to initially hide content with JavaScript without having the flash of unstyled content. http://www.learningjquery.com/2008/10/1-awesome-way-to-avoid-the-not-so-excellent-flash-of-amazing-unstyled-content --Karl Karl Swedberg www.englishrules.com ww

[jQuery] Re: JavaScript Loading Question

2009-03-16 Thread Jonathan
Since the browser will always have the Markup and CSS before the javascript is finished it's a pretty typical approach to avoid seeing stuff before the JS is done, although having a simplified version of your page that is accessible to users without JS enabled (for instance all the tabs visible f

[jQuery] Re: JavaScript Loading Question

2009-03-16 Thread MonkeyBall2010
Is this the best practices workaround? I hardly ever see this on other sites that use jQuery or a similar JS library. On Mar 13, 7:20 pm, James wrote: > For jQuery UI Tabs I get that issue too where it will display the HTML > list before turning into tabs. Though usually only just for the > init

[jQuery] Re: JavaScript Loading Question

2009-03-13 Thread James
For jQuery UI Tabs I get that issue too where it will display the HTML list before turning into tabs. Though usually only just for the initial load where the JS scripts have not been cached yet. The only workaround I've tried was making the container for your tabs hidden initially, and when the