Forums

  • # June 9, 2010 at 12:07 am

    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:
    http://elneco.biz/mynav/yeah.html

    my css:
    http://elneco.biz/mynav/mystyle.css

    thank you to anyone that helps me out
    -jaime

    # June 9, 2010 at 11:58 pm

    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)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag