My article on mouseovers (Switching Images in One Smooth Move) and my article on browser detection (Browsers, Shmousers) said that you can change images on the fly in Navigator 3.0 and above, but not Internet Explorer. Unfortunately this is only partly true. It turns out IE 4 does support the mouseover event and the IMG object. I apologize for any confusion this may have caused. This error creeped in because I was foolishly relying on the Microsoft documentation, rather than trying it out in IE 4 myself, which wasn't installed on my system at the time (lucky you! -- Ed.).
I've gotten lots of mail on the mouseovers topic: corrections and questions and suggestions for variations on this theme. Judy Smith complains that the pictures don't show up until she runs her mouse over them. "How do I make sure that a picture is present when someone looks at my page?"
SecondAlien = new Image() SecondAlien.src = "alien2.gif"
Now use this object to switch the images:
Click here to see the example.
[Move on the Part II]
Web Developer® Site Feedback
Copyright © 2000 internet.com Corporation. All rights reserved.