Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7612593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:57:10+00:00 2026-05-31T01:57:10+00:00

I have been looking for a script that allows for a menu to show

  • 0

I have been looking for a script that allows for a menu to show up when a user scrolls down the page, and when the user scrolls back to the top the menu disappears. I haven’t had any luck finding anything. I have tried sticky headers, but that’s not the effect I am looking for.

Sorry if this type of question isn’t allowed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T01:57:12+00:00Added an answer on May 31, 2026 at 1:57 am

    Sometime ago I used something like the below, you should be able to modify it for what you need. It originally was like “scroll back to the too button” but the functionality of hiding and showing an element depending on how much you have scrolled should be the same.

    // Create the link and add it to the DOM
    $('<a href="#" class="scrolltop"></a>').hide().appendTo($('body'));
    
    jQuery.fn.topLink = function(settings) {
    
        settings = jQuery.extend({
                            min: 1,
                            fadeSpeed: 200,
                            ieOffset: 50
                            }, settings);
    
        return this.each(function() {
            //listen for scroll
            var el = $(this);
            $(window).scroll(function() {
                if($(window).scrollTop() >= settings.min){
                    el.fadeIn(settings.fadeSpeed);
                }else{
                    el.fadeOut(settings.fadeSpeed);
                }
            });
        });
    
    };
    
    
    // To top scroll
    $('.scrolltop').topLink({
        min: 100,
        fadeSpeed: 500
    });
    
    /*CSS*/
    a.scrolltop {
    display: block;
    z-index: 999;
    position: fixed;
    bottom: 20%;
    right: 0;
    width: 47px;
    height: 47px;
    background-color: black;
    padding: 0 auto;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been looking for a Classic ASP script that allows me to hash a
I have been looking a script that expands a photo when mouse is over.
Have been looking at the MVC storefront and see that IQueryable is returned from
I have been looking for a way to allow the user to easily change
I have been working on a Ruby Script that enters in data into a
I have been looking for a really good, well documented jquery plug-in that will
I have been looking for an autosuggest search script and I have finally found
For a pet project, I have been looking for a web chat script capable
I have been trying to make a script that compares two images in HTML5
i have been looking for this script for a while now. I have some

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.