Template:12SJTU floatnav foot
From 2012.igem.org
(Difference between revisions)
Huanan1991 (Talk | contribs) |
Huanan1991 (Talk | contribs) |
||
Line 15: | Line 15: | ||
var height =document.documentElement.scrollTop+document.body.scrollTop+space; | var height =document.documentElement.scrollTop+document.body.scrollTop+space; | ||
var top = parseInt(id(o).style.top); | var top = parseInt(id(o).style.top); | ||
- | if(parseInt(document.documentElement.scrollTop+document.body.scrollTop) > | + | if(parseInt(document.documentElement.scrollTop+document.body.scrollTop) > 98){ |
- | height = height - | + | height = height - 100; |
- | if(parseInt(document.documentElement.scrollTop+document.body.scrollTop) > | + | if(parseInt(document.documentElement.scrollTop+document.body.scrollTop) > 198){ |
- | height = height - | + | height = height - 100; |
+ | if(parseInt(document.documentElement.scrollTop+document.body.scrollTop) > 298){ | ||
+ | height = height - 100; | ||
+ | } | ||
} | } | ||
} | } |
Latest revision as of 17:01, 25 October 2012