jquery - Responsive navbar toggle doesn't work properly -


i'd ask help. want make responsive navbar similar bootstrap's navbar doesn't work expected.

here demo http://codepen.io/anon/pen/voodmg

jquery:

$(document).ready(function() {   // toggle   $("#navbar-btn").click(function() {     $("#navbar-nav").toggle(2000);   }); }); 

any suggestions?

edit: previous issue fixed there responsive issue. if click button expand links click again hide , resize screen links don't appear. should do?

remove ms

$(document).ready(function() {   // toggle   $("#navbar-btn").click(function() {   $("#navbar-nav").toggle(2000);   }); }); 

http://codepen.io/anon/pen/lvwdzw


Comments

Popular posts from this blog

javascript - Trigger mouseenter when an animated element touches mouse -

json - Zend error Connection -

java - Using Spring @Transactional with a combination of readOnly and write, when does this entity get committed? -