Template:Team:Washington/Templates/Header
From 2009.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
function __s() { | function __s() { | ||
- | + | alert("hi"); | |
+ | alert(Math.max(document.documentElement.scrollTop, document.body.scrollTop)); | ||
if (Math.max(document.documentElement.scrollTop, document.body.scrollTop) === 0) { | if (Math.max(document.documentElement.scrollTop, document.body.scrollTop) === 0) { | ||
window.scrollTo(0, 86); | window.scrollTo(0, 86); |
Revision as of 06:51, 8 October 2009