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.scrollTop * 0.6;
+
   sub1hght = sub1hght * 0.8 + document.documentElement.scrollTop * 0.2;
   subfirst.style.marginTop = sub1hght + 'px';
   subfirst.style.marginTop = sub1hght + 'px';
}
}
-
var handleFollowing = setInterval(Following,60);
+
var handleFollowing = setInterval(Following,50);
</script>
</script>
</html>
</html>

Revision as of 07:14, 14 September 2012