if you used the loading plugin:   http://plugins.jquery.com/project/loading

$.loading(true, {mask:true, maskCss:{background:'#000', opacity:1}});

and when all is ready:

$.loading(false);

See the demo page for the project to get a feel for more options and
also some nice CSS you can use to make the loading message prettier.

On Mon, Aug 24, 2009 at 9:13 PM,
scotthaslehurst<scotthaslehu...@gmail.com> wrote:
>
> I am designing a site that is jquery heavy.
>
> When the site loads it takes a while for all the scripts to load and
> then the images to settle down - more so in IE, naturally.
>
> I would ideally like to display a black screen or cover everything
> with a div while it settles down. I have tried a few Timeout scripts
> but they appear to be conflicting and don't work.
>
> Any body got any ideas how I can either display a blank screen while
> it all settles down or just avoid the problem all together.
>
> The site I'm talking about is here:
>
> http://www.mintinnovation.com/draft2/
>
>

Reply via email to