
Overlay final
By: a guest on
May 25th, 2012 | syntax:
jQuery | size: 0.54 KB | hits: 27 | expires: Never
$(function() {
$('.slide').hover(function(){
$('.img').animate({'opacity' : '0.3'}, 100);
$('.slide-box').animate({'top' : '150px', 'opacity' : '1'}).delay(500);
$('.slide-info').animate({'bottom' : '100px', 'opacity' : '1'}).delay(500);
}, function(){
$('.img').animate({'opacity' : '1'}, 100);
$('.slide-box').stop(true,true).animate({'top' : '-150px', 'opacity' : '0'}).delay(500);
$('.slide-info').stop(true,true).animate({'bottom' : '-100px', 'opacity' : '0'}).delay(500);
});
});
});