I don't think there's any js involved - only CSS (:hover). And while onmouseover without onmouseout (as suggested by stanscott2) seems like the best way to go in js, I don't see how it could be done with CSS only. You're either hovering or not. When the mouse leaves the element, the style for the non-hover state will apply. You'd need javascript for anything beyond that, I'd say.
Main Topics
Browse All Topics





by: stanscott2Posted on 2007-08-16 at 13:37:39ID: 19712169
You haven't made your javaScript available, so it isn't possible to tell what, if anything, you're doing wrong. If you post your script, someone can tell you why it doesn't work with IE6.
I assume you're using an "onmouseover" and an "onmouseout". If you always want the last image to be displayed, just remove the onmouseout event.