Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
contentTitle.innerHTML = titleLong; | contentTitle.innerHTML = titleLong; | ||
contentType.innerHTML = contentType; | contentType.innerHTML = contentType; | ||
- | |||
- | |||
- | |||
if(parents.length) { | if(parents.length) { | ||
createNetwork({ | createNetwork({ | ||
Line 69: | Line 66: | ||
cradius:10 | cradius:10 | ||
}); | }); | ||
+ | } | ||
+ | if(childs.length || parents.length) { | ||
+ | var networkTitle = document.getElementById(divNetworkTitle); | ||
+ | var networkSummary = document.getElementById(divNetworkSummary); | ||
+ | networkSummary.innerHTML = summary; | ||
+ | networkTitle.innerHTML = titleLong; | ||
} | } | ||
break; | break; |
Revision as of 21:21, 4 October 2013