Treehouse: Grow your CSS skills. Land your dream job.

Menu and/or div follow down the page

  • # July 28, 2015 at 7:52 pm

    Hi, I have a menu at the top of my site. I would like another(much smaller and simpler) menu show up and follow you down after the main menu (about 60px down)is out of sight.

    # July 29, 2015 at 1:36 am

    Have you tried anything yet?

    I’m sure you could find any number of plug-ins and scripts with a quick google search.

    Do you have any code at all?

    # July 29, 2015 at 1:24 pm

    The code on that I have found google keeps a div on the top no matter what. I want it to appear only after a certain point.

    # July 29, 2015 at 1:39 pm

    Try googling “menu appear after scroll”.

    There are lots of options available like Jquerys scrollTop and others.

    It’s just a matter of finding the one you like.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.