Team:McMaster-Ontario

From 2012.igem.org

(Difference between revisions)
Line 16: Line 16:
$(".scroll").click(function(event){
$(".scroll").click(function(event){
event.preventDefault();
event.preventDefault();
-
$('html,body').animate({scrollTop:$(this.hash).offset().top-70}, 500);
+
$('html,body').animate({scrollTop:$(this.hash).offset().top-112}, 500);
});
});
});
});
Line 29: Line 29:
-
<div id = "header" style = "position: fixed; left: 0; top: 0; height:112px; width:100%; background:black">
+
<div id = "header">
<div id = "logo" style = "width: 251px; height: 112px; background: black; text-align: center; float: left; line-height:70px; overflow:hidden;">
<div id = "logo" style = "width: 251px; height: 112px; background: black; text-align: center; float: left; line-height:70px; overflow:hidden;">
<img src = "https://static.igem.org/mediawiki/2012/8/8f/00000.png" style="width: 100px;">
<img src = "https://static.igem.org/mediawiki/2012/8/8f/00000.png" style="width: 100px;">

Revision as of 14:43, 9 May 2013


One
Two
Three