Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 633: | Line 633: | ||
nodeSummary.innerHTML = content.summary; | nodeSummary.innerHTML = content.summary; | ||
nodeTitle.innerHTML = content.titleLong; | nodeTitle.innerHTML = content.titleLong; | ||
- | this.style.backgroundColor = " | + | this.style.backgroundColor = "black"; |
$(".netNode-"+this.mainnode+"-"+this.i).css({"width":"3px","height":"3px"}); | $(".netNode-"+this.mainnode+"-"+this.i).css({"width":"3px","height":"3px"}); | ||
if(general.mainnode) { | if(general.mainnode) { | ||
Line 650: | Line 650: | ||
var nodeSummary = document.getElementById(divSummary); | var nodeSummary = document.getElementById(divSummary); | ||
nodeSummary.innerHTML = ""; | nodeSummary.innerHTML = ""; | ||
- | nodeTitle.innerHTML = | + | nodeTitle.innerHTML = ""; |
- | this.style.backgroundColor = " | + | this.style.backgroundColor = "white"; |
$(".netNode-"+this.mainnode+"-"+this.i).css({"width":"1px","height":"1px"}); | $(".netNode-"+this.mainnode+"-"+this.i).css({"width":"1px","height":"1px"}); | ||
if(general.mainnode != "0") { | if(general.mainnode != "0") { | ||
Line 811: | Line 811: | ||
nodeSummary.innerHTML = content.summary; | nodeSummary.innerHTML = content.summary; | ||
nodeTitle.innerHTML = content.titleLong; | nodeTitle.innerHTML = content.titleLong; | ||
- | this.style.backgroundColor = " | + | this.style.backgroundColor = "black"; |
} | } | ||
node[i].onmouseout = function() { | node[i].onmouseout = function() { | ||
Line 821: | Line 821: | ||
var nodeSummary = document.getElementById(divSummary); | var nodeSummary = document.getElementById(divSummary); | ||
nodeSummary.innerHTML = ""; | nodeSummary.innerHTML = ""; | ||
- | nodeTitle.innerHTML = | + | nodeTitle.innerHTML = ""; |
- | this.style.backgroundColor = " | + | this.style.backgroundColor = "white"; |
}; | }; | ||
var content = document.getElementById(divContent); | var content = document.getElementById(divContent); |
Revision as of 07:39, 2 October 2013