Home › Forums › JavaScript › Jquery Drop-Down menu needed! Can anyone recommend any? › Re: Jquery Drop-Down menu needed! Can anyone recommend any?
February 22, 2013 at 6:12 pm
#120636
Member
When any top menu item is clicked the JS will look to see if it has a class of ‘active’, if it hasn’t it will add that class and remove that class from any other link.
Useful if you want t indicate which top menu item is the current one.
The default text color on the links is lightgrey (except for the currently active one which is green)…when you click on another link you can see it turn green.
Ignore the red hover state.