Template:Team:Washington/Templates/Header
From 2009.igem.org
(Difference between revisions)
Line 16: | Line 16: | ||
function __s() { | function __s() { | ||
+ | if (console && console.log) { | ||
+ | console.log(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:47, 8 October 2009