>> 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...will you explain a little more about what this means and perhaps give
an
example of its implementation?  Or is there a blog or tutorial somewhere?

Thanks,

Rick

On Mon, Apr 27, 2009 at 11:33 PM, Karl Swedberg <k...@englishrules.com>wrote:

>
> 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
>



-- 
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
"It has been my experience that most bad government is the result of too
much government." - Thomas Jefferson

Reply via email to