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

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -