Template:Team:Bonn:NetworkTop
From 2013.igem.org
(Difference between revisions)
Line 105: | Line 105: | ||
legend.style.overflow = "hidden"; | legend.style.overflow = "hidden"; | ||
document.getElementById(divnetworkTop).appendChild(legend); | document.getElementById(divnetworkTop).appendChild(legend); | ||
- | legend.innerHTML = "<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:blue;float:left;'></div> | + | legend.innerHTML = "<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:blue;float:left;margin-right:5px;'></div>Project</div>"; |
- | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:yellow;float:left;'></div> | + | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;margin-right:5px;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:yellow;float:left;'></div>Background information</div>"; |
- | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:green;float:left;'></div> | + | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:green;float:left;margin-right:5px;'></div>Human Practice advances</div>"; |
- | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:red;float:left;'></div> | + | legend.innerHTML = legend.innerHTML+"<div style='width:250px;font-weight:normal;font-size:100%;margin-right:5px;'><div style='height:"+cheight+"px;width:"+cwidth+"px;border-radius:20px;background-color:red;float:left;'></div>Team</div>"; |
} | } | ||
Revision as of 22:30, 4 October 2013