Jump to content

Navigation hide expand on scroll


Tanja

Recommended Posts

my website must have an update for mobile users ....

After looking and testing a lot of navigations I fall back every time to a special one.
Menu effect on the german mc donald site (i don´t use link in spam protect here) - how to do this?
Schrink to logo on scroll and expand on touch or mouseover?
I don´t use any framework ;-)

Hope you can give me tips :happy-04:

Link to comment
https://forums.phpfreaks.com/topic/297440-navigation-hide-expand-on-scroll/
Share on other sites

This is not done with Javascript.

 

The menu is styled using CSS. It swaps to pull down menu using CSS media queries based on the width of the device window. Heres a tutorial which creates horizontal menu collapse down to a vertical menu, uses nothing but CSS.

http://medialoot.com/blog/how-to-create-a-responsive-navigation-menu-using-only-css/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.