jquery - Getting dropdown to back back to normal when an item is clicked -


i have following script works will:

http://jsfiddle.net/oshirowanen/uuaqe/

i need make change the .navigation , .dropdown go normal when .items clicked. right .navigation , .dropdown back normal when .navigation clicked again.

i add code below:

$('.items').click(function() {   $(this).parent().toggle();   $('.navigation.active').removeclass('active');  }); 

you need add toggle drop down related current item, , remove class 'active' current navigation item.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -