On Apr 27, 2009, at 8:05 PM, Eric Garside wrote:


A) the images very quickly load then disapper. I dont want to hide the images in css incase people have js diasbled.
You're out of luck, then. DOMReady will trigger after the images and
html has loaded, so unless you hide them with CSS, there's no way to
prevent the flash, afaik.

In the <head> you can do this:

<script type="text/javascript"> document.documentElement.className = 'js';</script>

Then you can set styles for elements as descendants of .js.

--Karl

Reply via email to