Team:NJAU China/Background

From 2014.igem.org

(Difference between revisions)
Line 260: Line 260:
function Following()
function Following()
{
{
-
   sub1hght=sub1hght*0.9+(document.documentElement.scrollTop+document.body.scrollTop)*0.05-10;
+
   sub1hght=sub1hght*0.9+(document.documentElement.scrollTop+document.body.scrollTop)*0.1-10;
   if (sub1hght<0) {sub1hght=0;}
   if (sub1hght<0) {sub1hght=0;}
   subfirst.style.marginTop = sub1hght + 'px';
   subfirst.style.marginTop = sub1hght + 'px';

Revision as of 18:31, 15 October 2014

Home

IGEM