Difference between revisions of "Team:SDU-Denmark"
Line 11: | Line 11: | ||
}); | }); | ||
$('#box2').hover(function(){ | $('#box2').hover(function(){ | ||
+ | var smallTop = $('#box2').height() - $(".cover", this).height() -10 +"px"; | ||
+ | $(".cover", this).stop().animate({top:smallTop},{queue:false,duration:160}); | ||
+ | }, function() { | ||
+ | $(".cover", this).stop().animate({top:'465px'},{queue:false,duration:160}); | ||
+ | }); | ||
+ | $('#box3').hover(function(){ | ||
var smallTop = $('#box2').height() - $(".cover", this).height() -10 +"px"; | var smallTop = $('#box2').height() - $(".cover", this).height() -10 +"px"; | ||
$(".cover", this).stop().animate({top:smallTop},{queue:false,duration:160}); | $(".cover", this).stop().animate({top:smallTop},{queue:false,duration:160}); | ||
Line 51: | Line 57: | ||
</div> | </div> | ||
− | <div class="boxgrid contentBorder boxgridSmall" id=" | + | <div class="boxgrid contentBorder boxgridSmall" id="box3" style="margin-top:8px"> |
<a class="cover boxcaption" style="top: 465px" href="https://2015.igem.org/Team:SDU-Denmark/Tour11"> | <a class="cover boxcaption" style="top: 465px" href="https://2015.igem.org/Team:SDU-Denmark/Tour11"> | ||
<h2 class="onBlack">Our team</h2> | <h2 class="onBlack">Our team</h2> |
Revision as of 18:07, 26 August 2015