Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Picture doesn't load in IE6

Reply
Thread Tools

Picture doesn't load in IE6

 
 
Michael Satterwhite
Guest
Posts: n/a
 
      03-06-2005
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


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      03-06-2005
Previously in alt.html, Michael Satterwhite
<satterwh.X$NO$S$> said:

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


> www.weblore.com/lindinger


The image still downloads and is there - it just isn't visible. Looks
like you're getting your styles mixed up (or IE is getting confused,
anyway).

--
Mark Parnell
http://www.clarkecomputers.com.au
 
Reply With Quote
 
 
 
 
Michael Satterwhite
Guest
Posts: n/a
 
      03-06-2005
Mark Parnell wrote:

> Previously in alt.html, Michael Satterwhite
> <satterwh.X$NO$S$> said:
>
>> 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.

>
>> www.weblore.com/lindinger

>
> The image still downloads and is there - it just isn't visible. Looks
> like you're getting your styles mixed up (or IE is getting confused,
> anyway).


My problem is that I don't see anywhere outside of Javascript that I'm
saying that the image shouldn't be visible. As Javascript is turned off,
the "hidden" items should be ignored throughout. If Javascript is on, it
should fade in.

That's why I turned to the experts here. You guys seem to see things that
would never dawn on me.

---Michael

 
Reply With Quote
 
Richard
Guest
Posts: n/a
 
      03-06-2005
On Sun, 06 Mar 2005 22:37:44 GMT 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
>


What I think you should so is to remove the inline styling from the img tag.
This may be causing the image to appear totally transparent.
Try a different background color other than the background of the image.



 
Reply With Quote
 
Oli Filth
Guest
Posts: n/a
 
      03-07-2005
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IE6 Garbage Collection and general IE6 slowness problems timothytoe Javascript 4 06-03-2008 05:17 PM
AJAX problem: slow response using IE6 on Win2000 versus IE6 on XP Pugi! Javascript 0 02-05-2007 10:34 AM
IE6 SP1 rendering vs IE6 SP2 rendering Peter Mount HTML 4 01-31-2006 08:01 AM
Bug in IE6 , cant remove ie6 to replace Ockerr Computer Support 2 01-21-2005 04:01 PM
Just one ie6 template that works with ie6!? Ivor O'Connor HTML 4 11-25-2003 09:16 PM



Advertisments