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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T07:46:43+00:00 2026-06-09T07:46:43+00:00

How to make the same as jsFiddle , but the difference is the green

  • 0

How to make the same as jsFiddle, but the difference is the green box should slide down to disappear (and slide up to appear when you click the click here link in the example one more time).

The two strings

/*position:absolute;*/
/*bottom:0px;*/

which are commented in the css part of jsFiddle doesn’t work well if uncomment because it really starts to slide down, but the browser scroll bar disappers – not good.

  • 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-09T07:46:45+00:00Added an answer on June 9, 2026 at 7:46 am

    Edited:

    Add a <div> with an id sliderWrapper and give it 100% width as given below.

    <div width="100%" id="sliderWrapper">        
        <div id="slider" style="border:1px solid red;">
            <h1>1</h1><h1>2</h1><h1>3</h1><h1>4</h1><h1>F</h1>
    
            <h1>1</h1><h1>2</h1><h1>3</h1><h1>4</h1><h1>E</h1>
    
            <h1>1</h1><h1>2</h1><h1>3</h1><h1>4</h1><h1>D</h1>
    
            <h1>1</h1><h1>2</h1><h1>3</h1><h1>4</h1><h1>C</h1>
    
            <h1>1</h1><h1>2</h1><h1>3</h1><h1>4</h1><h1>B</h1>
    
            <h1>A</h1><h1>A</h1><h1>A</h1><h1>A</h1><h1>A</h1>
    
             <h1>6</h1><h1>7</h1><h1>8</h1><h1>9</h1><h1>10</h1>
        </div>
    </div>
    

    Keep following css rules for #slider

      #slider {
          background : green;             
          width:100px;
          margin:20px auto 0 auto;
       }
    

    Replace following line with $('#slider').slideToggle(500)

     if(hid) { $('#sliderWrapper').show("slide", { direction:"down" }, 500);} 
     else { $('#sliderWrapper').hide("slide", { direction:"down" }, 500); }
    

    SEE DEMO

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

Sidebar

Related Questions

http://jsfiddle.net/ca11111/WEuzB/ I'm tryign to make the comment and the author appear on the same
I want to make ^N work the same as Down arrow in a tree
I am tring to make two columns having same height but failed. How to
I want to make the second select box arrow become the same with the
http://jsfiddle.net/mretchin/JEVuX/40/ That's my code. I'm trying to make an input box that takes a
http://jsfiddle.net/antonpug/jfrNt/ I am trying to make all the buttons the same size, and I
http://jsfiddle.net/Zx836/ In the second box, notice how the arrow is in the same place.
Here is my JSfiddle document: http://jsfiddle.net/TSM_mac/xXcZx/1/ Basically, I am trying to make the second
I'm trying the new data-function in jQuery but can't make it work. Here is
based in this ex. http://jsfiddle.net/fj8wM/181/ if I click on login link when is not

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.