Forums

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

Home Forums JavaScript Can´t apply active class to sublinks on my page…

  • This topic is empty.
Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #199786
    css_fan5
    Participant

    Nothing. It is so weird, I had everything identical but it would not work. Rİght now it did. Maybe a missed a comma or something. Thanks again. You have been really helpful.

    #199787
    Shikkediel
    Participant

    No problem, the only thing I changed was to enable jQuery again…

    #199788
    css_fan5
    Participant

    Was it disabled?

    #199789
    Shikkediel
    Participant

    Yes, you can check your original fiddle. I think you may also beware of the fact that relative paths (like specified inside the links) could possibly not work in a live environment. Try using absolute paths if you run into an issue there. Admittedly, I’m no wizz with regular expressions.

    #199791
    css_fan5
    Participant

    I see. Thanks for the advice. Actually I had just come across an article on the topic. I will definitely revise the links.

    #199794
    css_fan5
    Participant

    I just read that if you are working on your local machine and testing your site fully before uploading it, relative paths should not be an issue.

    #199795
    Shikkediel
    Participant

    I never run things locally so I couldn’t say… but it’s better to prevent than cure.

    #199797
    css_fan5
    Participant

    I agree. Thanks for the heads up.

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