I am having jQuery animation issues...
I have a footer with a hidden div on top of it. When someone clicks a button near the header, the div should animate UP. Sort of like sliding up, like you're pulling a manila folder out of a drawer. (Not the normal slide up where the bottom of the div slides up to the top.)
I found this piece of code that is kind of what I want, however, it's moving the baseline (footer).
.featureBox{width:182px;
height:150px;
position:relative;
border:1px solid red;
}
$('.featureBox').hover(function() {
$(this).animate({top:'-320px', height:'540px'},"slow");
},
function() {
$(this).animate({top:'0px', height:'150px'},"slow");
})
When mousing over the red div box, you'll see that the div below it pushes down. How do I get it to just animate up or grow up? (He-he. Sorry. Just thought of mom yelling at me).