Template:Team:Bonn:NetworkTop
From 2013.igem.org
(Difference between revisions)
(10 intermediate revisions not shown) | |||
Line 62: | Line 62: | ||
title.style.opacity = "0.8"; | title.style.opacity = "0.8"; | ||
title.style.zIndex = "1"; | title.style.zIndex = "1"; | ||
+ | title.style.fontSize = "130%"; | ||
+ | title.style.fontWeight = "Bold"; | ||
title.id = divNetworkTitle; | title.id = divNetworkTitle; | ||
title.style.position = "absolute"; | title.style.position = "absolute"; | ||
- | title.top = - | + | title.top = -120; |
- | title.right = - | + | title.right = -185; |
title.style.top = title.top + "px"; | title.style.top = title.top + "px"; | ||
title.style.right = title.right + "px"; | title.style.right = title.right + "px"; | ||
Line 71: | Line 73: | ||
var summary = document.createElement("DIV"); | var summary = document.createElement("DIV"); | ||
- | summary.height = | + | summary.height = 170; |
- | summary.width = | + | summary.width = 250; |
summary.style.height = summary.height+"px"; | summary.style.height = summary.height+"px"; | ||
summary.style.width = summary.width+"px"; | summary.style.width = summary.width+"px"; | ||
Line 81: | Line 83: | ||
summary.id = divNetworkSummary; | summary.id = divNetworkSummary; | ||
summary.style.position = "absolute"; | summary.style.position = "absolute"; | ||
- | summary.top = | + | summary.top = title.top+9+title.height; |
summary.right = title.right; | summary.right = title.right; | ||
summary.style.top = summary.top + "px"; | summary.style.top = summary.top + "px"; | ||
Line 245: | Line 247: | ||
getElements(i); | getElements(i); | ||
if(content.childs.length <2) { | if(content.childs.length <2) { | ||
- | height = general.height/ | + | height = general.height/3; |
- | width = general.width/ | + | width = general.width/5; |
cheight = 9; | cheight = 9; | ||
cwidth = 9; | cwidth = 9; | ||
Line 428: | Line 430: | ||
general.mainnode, | general.mainnode, | ||
general.type, | general.type, | ||
- | node[general.mainnode].left | + | node[general.mainnode].left, |
- | node[general.mainnode].top | + | node[general.mainnode].top, |
- | node[i].left | + | node[i].left, |
- | node[i].top | + | node[i].top, |
general.parentID, | general.parentID, | ||
dheight, | dheight, | ||
Line 442: | Line 444: | ||
general.mainnode, | general.mainnode, | ||
general.type, | general.type, | ||
- | node[general.mainnode].left | + | node[general.mainnode].left, |
- | node[general.mainnode].top | + | node[general.mainnode].top, |
- | node[i].left | + | node[i].left, |
- | node[i].top | + | node[i].top, |
0, | 0, | ||
dheight, | dheight, |
Latest revision as of 11:59, 27 October 2013