I have a jquery code where when I click on a peice of text another div appears above it, but the div just go's on top of the original div, but what i want is for the new div to push the orignal div down with it.
This is the code
HTML:
<div id="social">Content to Show</div>
<div id="joinus"> <center><a id="activator" href="#">Join Us</a></center></div>
<div id="outerbody">
CSS:
#joinus {
background-image:url(../IMG/JoinUsBottom.png);
width:327px;
height:83px;
position:absolute;
left:755px;
font-size:30px;
}
#social {
background-image:url(../IMG/JoinUsTop.png);
width:327px;
heght:99px;
position:absolute;
left:755px;
display:none;
}
jQuery Code:
<script type="text/javascript">
$(function() {
$("#activator").click(function(){
$("#social").slideToggle("slow");
});
});
</script>
Thanks