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.
Edited:
Add a
<div>with anidsliderWrapper and give it100%width as given below.Keep following css rules for
#sliderReplace following line with
$('#slider').slideToggle(500)SEE DEMO