PDA

View Full Version : Resolved Replacing :hover with Javascript



bistromath
03-10-2009, 10:43 PM
I recently built a page using son of suckerfish for navigation, and am in the process of CBC testing. It works fine in most browsers, but since IE6 doesn't like to see ":hover" on anything but a link, I'm trying to find a way to work around it with javascript. I managed to get ":hover" working for the ID titled "nav" and it adds the rollover I need.

Now, in order to get it looking the same in IE6 as in other browsers, I need to apply another rollover state to the line item that contains the navigation link. I've given these line items a class of "forie." This seems like it should be a simple fix, but I'm having duplicating the Javascript I used earlier and modifying it for what I need.

Here's a link: http://www.paconserve.org/e-conserve/spring_09/index.php

Any thoughts?

bistromath
03-11-2009, 01:55 PM
Got it figured out...

http://www.xs4all.nl/~peterned/csshover.html

Great solution, if you're having this issue.