jQuery Hover DIV pop-up slide up

http://buildinternet.com/2009/03/sliding-boxes-and-captions-with-jquery/

 

$(‘.container’).hover(function(){

var position = $(this).children().position();

$(“.detail”, this).stop().animate({bottom: 0},{queue:false,duration:600});

}, function() {

var position = $(this).children().position();

$(“. detail”, this).stop().animate({bottom : -70},{queue:false,duration:600});

});

});

Leave a Reply