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 8133731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T09:43:07+00:00 2026-06-06T09:43:07+00:00

After some great help from Josh Mein with a Javascript Hide/Show menu, the menu

  • 0

After some great help from Josh Mein with a Javascript Hide/Show menu, the menu is working 100%, though I would like it when the page loads, that the menu is in it’s “Hide state”. Here is the jsFiddle link: http://jsfiddle.net/8y7Sr/3/ …when you load the page, the menu is showing and when you clicking on “Toggle Menu”, it will HIDE the nav. That’s perfect BUT How can I make it so that when you load the page, the menu is in it’s hide state already and when you click on “Toggle Menu”, the nav slides up? Josh mentioned that, to get this right, I must comment $("#stickyfooter").show(); out and add class="show_hide" to the div ID stickyfooter . I’ve been fiddling around but I can’t seem to get it working. I’ve most likely done something wrong but can anyone clarify what Josh mean’t? Thanks in advance 🙂

  • 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-06T09:43:11+00:00Added an answer on June 6, 2026 at 9:43 am

    For a minimal change to your existing code just programmatically trigger your existing click event immediately:

    $('.show_hide').click(function(){
       // your existing function code here
    
    }).click();    // <---- add this bit
    

    Demo: http://jsfiddle.net/8y7Sr/8/

    Alternatively, remove the first line of code:

    $("#stickyfooter").show();        // <--- delete this line
    

    Change the #sticky_footer_title class to have:

    bottom: 0px; 
    

    And change the #stickyfooter class to have:

    display: none;
    

    Demo: http://jsfiddle.net/8y7Sr/11/

    (As an aside, having both an id and a class called “stickyfooter” is kind of confusing. To me it would make more sense if the containing div had id="stickyfootercontainer" instead of class="stickyfooter".)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have re-written my code after great help from some friendly stack overflow members
Ive gotten some great help here and I am so close to solving my
I'm new to working with arrays so I need some help. With getting just
if someone could help me with a conceptual question it would be great: Suppose
After some experience with functional languages, I'm starting to use recursion more in Java
After some code review I removed unnecessary properties which resulted in empty rules. So
after some advice regarding a problem i am getting using a linux based piece
after some processing my program shows a messagebox saying you can read a log
After some use Visual Studio 2008 when opening a solution that is checked into
After some reading and R&D, I have came to conclusion that ? Forms in

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.