<body>
<a href="#" class="show_hide">Show/hide</a>
<div class="slidingDiv">
Fill this space with really interesting content. <a href="#" class="show_hide">hide</a>
<P>aasasasas</P>
</div>
<div id="content">
</div>
</body>
$(document).ready(function(){
$(".slidingDiv").hide();
$(".show_hide").show();
$('.show_hide').click(function()
{
$(".slidingDiv").slideToggle();
});
});
.slidingDiv {
height:300px;
background-color: rgb(34,34,34);
padding:20px;
margin-top:10px;
}
.show_hide {
display:none;
}
#content
{
width:900px;
height:400px;
background:rgb(85,85,85);
}
My problam is when the Top slider comes down it push the content div down but i dont want that i want to overlap the content in my #content div (it shoud stay where he is)
Thank you pros