Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 45: | Line 45: | ||
end:290, | end:290, | ||
mainnode:node, | mainnode:node, | ||
- | type:"parent" | + | type:"parent", |
+ | cheight:9 | ||
}); | }); | ||
Line 58: | Line 59: | ||
mainnode:node, | mainnode:node, | ||
type:"child" | type:"child" | ||
+ | cheight:9 | ||
}); | }); | ||
} | } | ||
Line 220: | Line 222: | ||
} | } | ||
node[i] = document.createElement("DIV"); | node[i] = document.createElement("DIV"); | ||
- | node[i].style.backgroundColor = " | + | node[i].style.backgroundColor = "white"; |
node[i].style.height = general.cheight+"px"; | node[i].style.height = general.cheight+"px"; | ||
node[i].style.width = general.cwidth+"px"; | node[i].style.width = general.cwidth+"px"; | ||
Line 565: | Line 567: | ||
}else { | }else { | ||
node[general.mainnode] = document.createElement("DIV"); | node[general.mainnode] = document.createElement("DIV"); | ||
- | node[general.mainnode].style.backgroundColor = " | + | node[general.mainnode].style.backgroundColor = "white"; |
node[general.mainnode].style.height = general.cheight+"px"; | node[general.mainnode].style.height = general.cheight+"px"; | ||
node[general.mainnode].style.width = general.cwidth+"px"; | node[general.mainnode].style.width = general.cwidth+"px"; | ||
Line 673: | Line 675: | ||
} else{ | } else{ | ||
node[i] = document.createElement("DIV"); | node[i] = document.createElement("DIV"); | ||
- | node[i].style.backgroundColor = " | + | node[i].style.backgroundColor = "white"; |
node[i].style.height = general.cheight+"px"; | node[i].style.height = general.cheight+"px"; | ||
node[i].style.width = general.cwidth+"px"; | node[i].style.width = general.cwidth+"px"; | ||
Line 808: | Line 810: | ||
mainnode:i, | mainnode:i, | ||
type:"child", | type:"child", | ||
+ | cheight:9, | ||
top:node[i].top+general.cheight/2, | top:node[i].top+general.cheight/2, | ||
left:node[i].left+general.cwidth/2, | left:node[i].left+general.cwidth/2, | ||
Line 832: | Line 835: | ||
end:290, | end:290, | ||
mainnode:i, | mainnode:i, | ||
+ | cheight:9, | ||
type:"parent", | type:"parent", | ||
top:node[i].top+general.cheight/2, | top:node[i].top+general.cheight/2, |
Revision as of 21:20, 1 October 2013