The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript 2nd link in my nav is FAILING…please help

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #29293

    Hello Forums,

    i have a simple css sprite nav set up with simple javascript fades; all works fine without javascript…. however, when javascript is enabled my second nav button does not work correctly. I looked over my code several times but i can’t understand what i’m overlooking…perhaps someone with fresh eyes can help ??

    my nav:

    my css:

    thank you to anyone that helps me out


    What I like to do when one of a set of things isnt working is to delete it and replace it with a copy of one of the working ones and then tweak and check step by step till you transform it into the original you wanted.. In your case, delete the 2nd link and copy the first in it’s place. If it works, this assures you that there was in fact an issue with the code and it wasn’t just affecting the 2nd link, which ever one it may be.

    After you have a working duplicate link in place, change it piece by piece checking it each time to make sure it works. Continue till you have the link you originally wanted. If it suddenly doesn’t work, probably like how the original problem was, then you found what was causing the issue and can fix it.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.