Template:Peking2012 Color Modeling

From 2012.igem.org

(Difference between revisions)
m
m
Line 103: Line 103:
   {
   {
     subLhght_Cur[i] = 0;
     subLhght_Cur[i] = 0;
-
    clearInterval(subLhand_Wither[i]);
 
     subLhand_Wither[i] = null;
     subLhand_Wither[i] = null;
     sublists[2*i+2].style.display='none';
     sublists[2*i+2].style.display='none';
 +
  }
 +
  else
 +
  {
 +
    subLhand_Wither[i] = setTimeout(function(){listWither(i);},50);
   }
   }
   sublists[2*i+2].style.height=subLhght_Cur[sublists_Cur]+'px';
   sublists[2*i+2].style.height=subLhght_Cur[sublists_Cur]+'px';
Line 122: Line 125:
       clearTimeout(subLhand_Growth);
       clearTimeout(subLhand_Growth);
     }
     }
-
     subLhand_Wither[sublists_Cur]=setInterval(function(){listWither(sublists_Cur);},50);
+
     listWither(sublists_Cur);
     if (subLhand_Wither[i]!=null)
     if (subLhand_Wither[i]!=null)
     {
     {

Revision as of 09:34, 14 September 2012