Difference between revisions of "Team:SDU-Denmark"
Line 1: | Line 1: | ||
{{:Team:SDU-Denmark/core/header| }} | {{:Team:SDU-Denmark/core/header| }} | ||
<html> | <html> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function() { | ||
+ | $('#box1').hover(function(){ | ||
+ | var smallTop = $('#box1').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}); | ||
+ | }); | ||
+ | $('#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}); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<div class="expandedContent"> | <div class="expandedContent"> | ||
Line 30: | Line 48: | ||
<div class="boxgrid contentBorder boxgridSmall" id="box2" style="margin-top:8px"> | <div class="boxgrid contentBorder boxgridSmall" id="box2" style="margin-top:8px"> | ||
+ | <a class="cover boxcaption" style="top: 465px"> </a> | ||
+ | <h2 class="onBlack">Meet our team</h2> | ||
+ | <p class="onBlackintro"> | ||
+ | Hej hej | ||
+ | </p> | ||
</div> | </div> | ||
Line 39: | Line 62: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Revision as of 18:00, 26 August 2015