Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

active class nav

$('.nav-list li').click(function() {

    $('.nav-list li.active').removeClass('active');
    $(this).addClass('active');
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #active #class #nav
ADD COMMENT
Topic
Name
3+2 =