Home › Forums › JavaScript › Can´t apply active class to sublinks on my page… › Reply To: Can´t apply active class to sublinks on my page…
April 4, 2015 at 1:52 pm
#199752
css_fan5
Participant
Hello again,
As you might have guessed. I have got stuck at one point :) I wanted to take up on your previous offer for help :) The markup for the main nav was bunch of “a” tags inside a div. Now the html is slightly different. Please see:
Now each a tag is wrapped inside another li element so my JS must be modified to work but I could not figure out how it must be done. Your help is appreciated.
Many thanks in advance.