Template:Team:KIT-Kyoto/hidelogo

From 2014.igem.org

(Difference between revisions)
Line 2: Line 2:
<script type="text/javascript">
<script type="text/javascript">
$(function(){
$(function(){
-
$(window).resize(function(){
+
 
-
    var h = $(window).height();
+
-
    var x = 900;
+
-
    if (h <= x){
+
setTimeout(function(){
setTimeout(function(){
$(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},1000,'linear');
$(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},1000,'linear');
Line 19: Line 16:
);
);
}
}
-
});
 
});
});
</script>
</script>

Revision as of 10:17, 21 September 2014