Template:Team:Bonn:NetworkBottom
From 2013.igem.org
(Difference between revisions)
(4 intermediate revisions not shown) | |||
Line 144: | Line 144: | ||
nodeTitle[i].style.width = "120px"; | nodeTitle[i].style.width = "120px"; | ||
nodeTitle[i].style.zIndex = "1"; | nodeTitle[i].style.zIndex = "1"; | ||
+ | nodeTitle[i].style.lineHeight = "15px"; | ||
nodeTitle[i].id = "nodeTitle"+i; | nodeTitle[i].id = "nodeTitle"+i; | ||
nodeTitle[i].style.textWeight = "bold"; | nodeTitle[i].style.textWeight = "bold"; | ||
Line 175: | Line 176: | ||
var nodeSummary = new Array; | var nodeSummary = new Array; | ||
nodeSummary[i] = document.createElement("DIV"); | nodeSummary[i] = document.createElement("DIV"); | ||
- | nodeSummary[i].style.width = " | + | nodeSummary[i].style.width = "140px"; |
nodeSummary[i].style.zIndex = "99"; | nodeSummary[i].style.zIndex = "99"; | ||
nodeSummary[i].id = "nodeSummary"+i; | nodeSummary[i].id = "nodeSummary"+i; | ||
Line 186: | Line 187: | ||
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"; | ||
- | if(general. | + | if(general.type == "child") { |
nodeSummary[i].right = 0; | nodeSummary[i].right = 0; | ||
nodeSummary[i].style.right = nodeSummary[i].right+"px"; | nodeSummary[i].style.right = nodeSummary[i].right+"px"; |
Latest revision as of 12:17, 27 October 2013