Template:Team:Bonn:Network
From 2013.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
function showNode(node) { | function showNode(node) { | ||
var divContent = "subpage-middle"; | var divContent = "subpage-middle"; | ||
+ | if(document.getElementById(divContent)) { | ||
+ | |||
+ | } else { | ||
+ | mainContent.innerHTML = "<div id='networkTop' style='position:absolute;top:200px;height:220px;left:-50px;width:800px;z-index:1;'></div><div id='networkBottom' style='position:absolute;top:450px;left:-160px;height:800px;width:1250px;z-index:1;overflow:hidden;'></div><div id='subpage' style='z-index:2;position:relative;margin-top:400px;width=900px;'><div id='subpage-middle'> <div> <div style='float:right;display:inline; '> <img src='https://static.igem.org/mediawiki/2013/a/a4/Bonn_sponsors_uniBonn.png' class='bottom-sponsor' height='50px' id='sponsor-unibonn' style='margin-right:10px;'> <img src='https://static.igem.org/mediawiki/2013/7/79/Bonn_sponsors_limes.gif' class='bottom-sponsor' height='50px' id='sponsor-limes'> </div> <div class='subpage-head-link'><a href='javascript:history.back();'>Back</a></br> <span id='type'>Category: <span id='subpage-type'>Project</span></span></div> <div id='subpage-title'></div> <div id='subpage-summary'></div> <div id='subpage-text'> </div> </div> </div> </div></div>"; | ||
+ | initiateNetwork(1); | ||
+ | } | ||
var content = document.getElementById(divContent); | var content = document.getElementById(divContent); | ||
getElements(node); | getElements(node); |
Revision as of 03:36, 5 October 2013