Results 1 to 2 of 2

Thread: Replacing :hover with Javascript

  1. #1
    Join Date
    Jul 2008
    Location
    Pittsburgh, PA, USA
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Replacing :hover with Javascript

    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...g_09/index.php

    Any thoughts?
    Last edited by bistromath; 03-11-2009 at 01:58 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    Pittsburgh, PA, USA
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Got it figured out...

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

    Great solution, if you're having this issue.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •