Template:Peking2012 Color Modeling

From 2012.igem.org

(Difference between revisions)
m
m
Line 124: Line 124:
   {
   {
     if (subLhand_Growth) {clearTimeout(subLhand_Growth);
     if (subLhand_Growth) {clearTimeout(subLhand_Growth);
-
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"clear Growth."+"<br>";
+
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"clear Growth"+sublists_Cur+"<br>";
}
}
     if (!subLhand_Wither[sublists_Cur]) {listWither(sublists_Cur);
     if (!subLhand_Wither[sublists_Cur]) {listWither(sublists_Cur);
Line 134: Line 134:
     sublists[2*i+2].style.display='block';
     sublists[2*i+2].style.display='block';
     sublists_Cur = i;
     sublists_Cur = i;
 +
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"Cur="+sublists_Cur+"<br>";
     listGrowth();
     listGrowth();
-
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"start Growth."+"<br>";
+
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"start Growth"+sublists_Cur+"<br>";
   }
   }
}
}
function listReset()
function listReset()
{
{
-
   if (sublists_Cur!=sublists_Now) {subLhand_Return = setTimeout(listReturn,1000);}
+
   if (sublists_Cur!=sublists_Now) {subLhand_Return = setTimeout(listReturn,1000);
 +
document.getElementById('console').innerHTML=document.getElementById('console').innerHTML+"start Return."+"<br>";
 +
}
   else {subLhand_Return = null;}
   else {subLhand_Return = null;}
}
}

Revision as of 07:02, 15 September 2012