Monday, July 27, 2009

[jQuery] Re: Content Loads then Javascript

I think this article may help:
http://www.learningjquery.com/2008/10/1-way-to-avoid-the-flash-of-unstyled-content

On Jul 27, 3:51 am, Mushex Antaranian <jesirobende...@gmail.com>
wrote:
> $(document).ready(function() {  /* your code */ })  <-this means that
> code inside {} brackets will execute after DOM is loaded..
>
> On Jul 27, 5:59 am, Mutual Designs <mike.f.griffi...@gmail.com> wrote:
>
> > How do I prevent the content loading on my website before the
> > Javascript loads. It seems that all of my Javascript is loading in the
> > head of my page, but the content all shows before being modified by
> > the javascript.
>
> >http://boomer-living.com/wp/
>
> > Any suggestions?

No comments: