Template:Team:Bonn:NetworkTop
From 2013.igem.org
(Difference between revisions)
Line 53: | Line 53: | ||
var sin = new Array(); | var sin = new Array(); | ||
var cos = new Array(); | var cos = new Array(); | ||
+ | |||
+ | |||
+ | var titleBig = document.createElement("DIV"); | ||
+ | titleBig.height = 50; | ||
+ | titleBig.width = 250; | ||
+ | titleBig.style.height = title.height + "px"; | ||
+ | titleBig.style.width = title.width + "px"; | ||
+ | titleBig.style.color = "white"; | ||
+ | titleBig.style.backgroundColor = "black"; | ||
+ | titleBig.style.opacity = "0.6"; | ||
+ | titleBig.style.zIndex = "1"; | ||
+ | titleBig.style.fontsize = "200%"; | ||
+ | titleBig.id = "networkTitleBig"; | ||
+ | titleBig.style.position = "absolute"; | ||
+ | titleBig.top = parseInt(document.getElementById(divNetworkTop).style.height)/2+titleBig.style.height/2; | ||
+ | titleBig.right = parseInt(document.getElementById(divNetworkTop).style.width)/2+titleBig.style.width/2; | ||
+ | titleBig.style.top = title.top + "px"; | ||
+ | titleBig.style.right = title.right + "px"; | ||
+ | document.getElementById(divnetworkTop).appendChild(titleBig); | ||
+ | titleBig.innerHTML = "The fabulous project network"; | ||
var title = document.createElement("DIV"); | var title = document.createElement("DIV"); |
Revision as of 22:40, 4 October 2013