Template:Peking2012 Color Modeling
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 38: | Line 38: | ||
function Following() | function Following() | ||
{ | { | ||
- | sub1hght = sub1hght * 0.4 + document.documentElement. | + | sub1hght = sub1hght * 0.4 + document.documentElement.scrollTop * 0.6; |
subfirst.style.marginTop = sub1hght + 'px'; | subfirst.style.marginTop = sub1hght + 'px'; | ||
} | } |
Revision as of 07:13, 14 September 2012