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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:28:51+00:00 2026-05-24T16:28:51+00:00

I wonder how can i hide the attached panel in a way that only

  • 0

I wonder how can i hide the attached panel in a way that only the red button to be shown on the left side of the browser’s window and when i click on the red button to appear the whole panel. If i click again on the red button, the panel to disappear again on the left side of the browser’s window?

panel

I know i should use absolute positioning related to a relative positioned wrapper div, but that’s all my idea…

<div class="wrapper"><div id="panel"></div><!-- #panel --><p>content</p></div><!-- .wrapper -->

.wrapper {position: relative; margin: 0 auto; width: 800px; height: 500px;}

#panel {position: absolute; left: -150px; top: 50px;}
  • 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-24T16:28:52+00:00Added an answer on May 24, 2026 at 4:28 pm

    Here is a very simple example, it uses the animate() function to handle the showing and hiding:

    jQuery:

    $('#click').click(function()
    {
        $("#panel").animate({width:'toggle'},500);       
    });
    

    Working Demo Available here

    CSS (from demo):

    //The content panel
    #panel
    {
         height: 500px;
         width: 200px;
         background: black;
         float: left;
         display: none;    
         color: white;
         font-size: xx-large;
    }
    
    //The tab
    #click
    {
         height: 50px;
         width: 25px;
         background: red;
         float: left; 
         margin-top: 200px;
    }
    

    Related HTML:

    <div id='panel'>[Put your content here]</div>
    <div id='click'>
    

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

Sidebar

Related Questions

I want to generate html layout with areas (divs, spans) that can be shown/hidden
I wonder how can I search for a certain pattern in file, but only
I wonder if there's a shorter way of doing that: <script> $(document).ready(function() { $(#deliverer).change(function()
I wonder if can I say that a constructor is a special case of
I wonder how can I export a Visual Studio C++ project to Qt? I
I am going to develop ICQ client and I just wonder where can I
Out of curiosity, I wonder what can people do with parsers, how they are
I'd like to start coding for NVIDIA 3D Vision and wonder where can I
Wonder if anyone can help me understand how to sum up the column of
wonder whether someone can help me with the following one... I have a struct

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.