1

i have this menu : http://jsfiddle.net/aL7Xe/1000/

And I disabled the href link "bewerken" with

a[href="/test4/disabled"] {
  pointer-events: none;
}

But now my css does not show on that link, does anyone have any idea on how I can keep my css on that link but still have it disabled ?

1 Answer 1

0

Adding

  e.preventDefault(); 

under

 $('.topmenu').click(function(e){

will disable link redirection.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.