I am trying to slow down the animation of increasing and decreasing height using jQuery. Currently, I am using .css() to adjust the height of a div element. Can someone please provide assistance?
<script>
$(document).ready(function(){
$(".stickyfooter2").css({'height': '60px'});
$('.stickyfooter2').mouseover(function(){
$(".stickyfooter2").animate({height: '200px'}, "slow");
});
$('.stickyfooter2').mouseleave(function(){
$(".stickyfooter2").animate({height: '60px'}, "slow", function(){
$(this).fadeIn('fast');
});
});
});
</script>