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… Reply To: Can´t apply active class to sublinks on my page…

#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:

http://jsfiddle.net/f5dxfqn7/

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.