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}, 500); | + | $('html,body').animate({scrollTop:$(this.hash).offset(-70).top}, 500); |
}); | }); | ||
}); | }); | ||
Line 40: | Line 40: | ||
</div> | </div> | ||
</div> | </div> | ||
- | <div id = "alpha | + | <div id = "alpha" style = "height: 1000px; width: 100%; background: white;"> |
One | One | ||
</div> | </div> |
Revision as of 15:01, 7 May 2013
One
Two
Three