0

Here is example -> codepen

My question is how to do active class="active" that hover function wont aply for this button with class="active"

1 Answer 1

1

Just change this line:

$("nav ul li a").hover(function(){

like this:

$("nav ul li a:not(.active)").hover(function(){

See here: http://codepen.io/anon/pen/ehosj

Sign up to request clarification or add additional context in comments.

1 Comment

omg that was so easy, i just made fool of myself :). Thank you mate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.