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

  • Home
  • SEARCH
  • 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 8172707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:52:21+00:00 2026-06-06T21:52:21+00:00

So I have a sticky header with a drop down menu for mobile phones

  • 0

So I have a sticky header with a drop down menu for mobile phones on the site I am working on.

You can see what happens here, while having the window sized down to get the toggle button to show: http://www.revival.tv/turningpoint/

My problem is that I would like to have the menu stay there when toggling it, instead of having it scroll back to the top. Is this possible?

Here is my js handling the toggle:

$("#social-wrap li:nth-child(4)").click(function(){
   $("#phone-nav").slideToggle("slow");
});

$("#phone-nav a").click(function(){
   $("#phone-nav").slideUp("fast");
});
  • 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-06-06T21:52:23+00:00Added an answer on June 6, 2026 at 9:52 pm

    I think the reason this is happening is because the anchor tag href is set to “#” which will default to the top of the page

    <a href="#">m</a>
    

    change that to

    <a href="javascript:void(0)">m</a>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried almost all the techniques to apply sticky footer to my site
I'm running into trouble with this. I have a sticky header with a text
I am doing a sticky note web site where users can post msg etc
I am trying to have a sticky header and footer on my template, which
I have made a rediculasly small snippet to make a sub-header stick to the
Hello people i stick on a problem i have a header with no zoom
Hi I have a Sticky form that after successful completion I want to clear
I have recently run into a particularly sticky issue regarding committing the result of
I have tried to implement css sticky footer on my page but it doesn't
How to make a sticky footer i have tried on google found some results

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.