Wednesday, 20 April 2016

Jquery addclass question

hey /r/web_design, i've been designing a new portfolio and i can't figure this out as i dont have alot of jquery experience. I have a fixed menu that consists of 4 links to sections, and i would like to add the class "current" to them when they reach their section to indicate you are currently on that section. the normal is 0.4 opacity and the current class is 1 opacity. I know the easiest way to do this is to use the jquery addclass function, but i'm not sure how to. Could anyone help?

http://ift.tt/1St6NNw



Epic visual tool

Epson 5030UB 2D/3D 1080p 3LCD Projector Submitted April 20, 2016 at 01:25PM by Unrealio http://ift.tt/1TiR2Jl

No comments:

Post a Comment