Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Aug 2002
    Silicon Valley, CA
    Thanked 0 Times in 0 Posts

    SoopaRollovers - Keep hover image on onClick

    Beetle, you around?

    Anyways, I'm designing a site for a band. The URL is www.unknownjeromes.com/beta.

    Notice the rollover tabs along the left-hand side. When you click on them, the one you click will highlight with the hsrc image, but they lose their rollover effect.

    I think the problem is either in www.unknownjeromes.com/beta/api/rollovers.js (being the rollover script), or www.unknownjeromes.com/beta/api/tabs.js (being the tab script).

    I've tried using document.images[0].src, but nothing happens when onClick fires, or at least no error that the Moz JS Editor picks up. I have IE6 set to pick up errors as well, and nothing.

    I'm using innerHTML at the moment, but as you can see, I lose the rollover effect.

    I know you guys can help. That's why I frequent these boards!

  2. #2
    Senior Coder
    Join Date
    Aug 2002
    Thanked 0 Times in 0 Posts
    Hey dude, I just found this thread. Sorry so late. You still need help w/this?
    My Site | fValidate | My Brainbench | MSDN | Gecko | xBrowser DOM | PHP | Ars | PVP
    “Minds are like parachutes. They don't work unless they are open”
    “Maturity is simply knowing when to not be immature”


Posting Permissions

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