Jump to content

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/

Thanks, but that is not the major effect i´m looking for ....

on example side you see logo and some links, if you scroll down there is only the logo left and it´s sticky. If you move over, you can see complete links (navigation) again ....

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.