Michael Satterwhite wrote:
> I have a page where I'm using Javascript to fade in an image. It appears to
> work fine with Javascript turned on - I've tested IE6 and Firefox.
>
> If I turn Javascript *OFF* in the browsers, the picture displays fine in
> Firefox (no fade effect, of course), but it doesn't show at all in IE6 -
> there's a blank spot on the screen where the image should be.
>
> Would someone be so kind as to tell me the error of my ways?
> Here's the page:
>
> www.weblore.com/lindinger
>
>
In Firefox, the illusion is shattered anyway, cos the image displays as
its loading before the Javascript has had a chance to run. So what
actually happens is the image displays, then disappears, and then fades
back in, which just looks bizarre.
In Opera the script doesn't work full stop.
P.S. A word of design advice: don't use different size fonts for
A:hover, as this has a tendency to make everything else jump about. In
Firefox, for instance, the main image moves left and right as I hover
and unhover over the "About" and "Services" links.
P.P.S. Validate your (X)HTML!
http://validator.w3.org/check?verbos...com/lindinger/
--
Oli