Ive used the 'maindiv' to retain the structure of the page.The 'topbanner' div has a background image and numerous child divs and via css its display is initially hidden.In the page ive linked jquery and jquery.easing

Could someone point me in the right direction..thanks in advance

webstartavenue
—
2011-11-06T06:47:42Z —
#2

Typically you would only need to preload if the object your showing requires a new HTTP request (so the preloading takes care of this in advance). Since the DIV you're showing does contain background images these could be preloaded.

All you need to do is use your normal preload script to load up the background image(s). Once the preload is complete you can fade-in the DIV.

lalog00
—
2011-11-07T18:09:20Z —
#3

You could also hide it with CSS since the beginning, by applying CSS rule display:none;, and when you want to show it, just change the display type.

barney0o0
—
2011-11-07T18:14:10Z —
#4

The initial state is hidden by css

... some of the divs contain dynamic content, and some have background images via css, therefore i dont know of as script (without listing the image urls) that can ascertain that all the images within the div have been loaded, then fade in..