Template:Team:Bonn:NetworkBottom
From 2013.igem.org
(Difference between revisions)
Line 186: | Line 186: | ||
nodeSummary[i].top = nodeTitle[i].top+parseInt(nodeTitle[i].style.height)+10; | nodeSummary[i].top = nodeTitle[i].top+parseInt(nodeTitle[i].style.height)+10; | ||
nodeSummary[i].style.top = nodeSummary[i].top +"px"; | nodeSummary[i].style.top = nodeSummary[i].top +"px"; | ||
- | nodeSummary[i]. | + | if(general.type = "child") { |
- | nodeSummary[i].style.left = nodeSummary[i].left+"px"; | + | nodeSummary[i].right = 0; |
+ | nodeSummary[i].style.right = nodeSummary[i].right+"px"; | ||
+ | }else { | ||
+ | nodeSummary[i].left = 0; | ||
+ | nodeSummary[i].style.left = nodeSummary[i].left+"px"; | ||
+ | } | ||
nodeSummary[i].style.color = "white"; | nodeSummary[i].style.color = "white"; | ||
if(general.parent) { | if(general.parent) { |
Revision as of 12:08, 27 October 2013