Forums

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

Home Forums JavaScript Jquery Drop-Down menu needed! Can anyone recommend any? Re: Jquery Drop-Down menu needed! Can anyone recommend any?

#120636
Paulie_D
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.