javascript - Hidden nav bar on mobile -


i'd have navigation menu education website similar in structure 1 found here.

take note of left-hand navigation menu header , list items. in desktop view, nav items appear, in mobile view, header visible (and have click + icon have nav menu items appear)

looking @ elements appears there's javascript working in background switches css class names when site goes mobile view.

i've been trying recreate similar no avail...

could please take stab @ using simple structure using jsfiddle?

nav title (on click, nav menu items 1-3 appears/disappears below)

  • menu link 1
  • menu link 2
  • menu link 3

i'd appreciate it! thank you!

there existing bootstrap templates , plugin meet requirement. can leverage android material design guide line & sample templates.

  1. https://getmdl.io/ (edit: copied op's comments:) ... design guideline google making web-apps. idea make consistent looking native possible. site includes components icons, widgets, navbar etc. contains sample templates can clone or download git.

  2. http://getbootstrap.com/ bootstrap on other hand have same features more targeted mobile first design approach.

again if want both can check out materializecss.com


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -