Team:SDU-Denmark/core/header

From 2013.igem.org

(Difference between revisions)
Line 22: Line 22:
         $(window).scroll(sticky_relocate);
         $(window).scroll(sticky_relocate);
         $('.boxgrid.caption').hover(function(){
         $('.boxgrid.caption').hover(function(){
-
    $(".cover", this).stop().animate({top:'360px'},{queue:false,duration:160});
+
    $(".cover", this).stop().animate({top:'100px'},{queue:false,duration:160});
}, function() {
}, function() {
    $(".cover", this).stop().animate({top:'420px'},{queue:false,duration:160});
    $(".cover", this).stop().animate({top:'420px'},{queue:false,duration:160});

Revision as of 09:03, 5 August 2013