Template:Peking2012 Color Modeling
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 90: | Line 90: | ||
} | } | ||
sublists[2*sublists_Cur+2].style.height=subLhght_Cur[sublists_Cur]+'px'; | sublists[2*sublists_Cur+2].style.height=subLhght_Cur[sublists_Cur]+'px'; | ||
+ | } | ||
+ | function listWitherFunc(i) | ||
+ | { | ||
+ | return function() {listWither(i);}; | ||
} | } | ||
function listWither(i) | function listWither(i) | ||
Line 104: | Line 108: | ||
else | else | ||
{ | { | ||
- | + | subLhand_Wither[i] = setTimeout(listWitherFunc(i),50); | |
- | subLhand_Wither[i] = setTimeout( | + | |
} | } | ||
sublists[2*i+2].style.height=subLhght_Cur[sublists_Cur]+'px'; | sublists[2*i+2].style.height=subLhght_Cur[sublists_Cur]+'px'; | ||
Line 112: | Line 115: | ||
{ | { | ||
listTrigger(sublists_Now); | listTrigger(sublists_Now); | ||
+ | subLhand_Return = null; | ||
} | } | ||
/* Trigger Function */ | /* Trigger Function */ |
Revision as of 07:09, 15 September 2012