Team:Tsinghua/writenav
From 2010.igem.org
(Difference between revisions)
(3 intermediate revisions not shown) | |||
Line 12: | Line 12: | ||
node.childNodes[0].innerHTML=navlist[j]; | node.childNodes[0].innerHTML=navlist[j]; | ||
node.childNodes[0].href=linklist[j]; | node.childNodes[0].href=linklist[j]; | ||
- | |||
- | |||
- | |||
- | |||
if(subno!=null) | if(subno!=null) | ||
{ | { | ||
Line 28: | Line 24: | ||
} | } | ||
} | } | ||
+ | if(j==lightno) | ||
+ | { | ||
+ | node.childNodes[0].style.color="yellow"; | ||
+ | } | ||
+ | |||
node.style.display="none"; | node.style.display="none"; | ||
j++; | j++; | ||
Line 76: | Line 77: | ||
} | } | ||
} | } | ||
- | + | j++; | |
if(inisize<=tarsize) | if(inisize<=tarsize) | ||
{ | { |
Latest revision as of 15:48, 26 October 2010