Template:Team:Bonn:NetworkBottom

From 2013.igem.org

(Difference between revisions)
Line 174: Line 174:
     nodeSummary[i].style.zIndex = "15";
     nodeSummary[i].style.zIndex = "15";
     nodeSummary[i].id = "nodeSummary"+i;
     nodeSummary[i].id = "nodeSummary"+i;
-
     nodeSummary[i].backgroundColor = "black";
+
     nodeSummary[i].style.backgroundColor = "black";
-
     nodeSummary[i].opacity = "0.8";
+
     nodeSummary[i].style.opacity = "0.8";
     nodeSummary[i].i = i;
     nodeSummary[i].i = i;
     nodeSummary[i].mainnode = general.mainnode;
     nodeSummary[i].mainnode = general.mainnode;
Line 260: Line 260:
         }
         }
       nodeSummary.innerHTML = content.summary;
       nodeSummary.innerHTML = content.summary;
-
      nodeTitle.innerHTML = content.titleLong;
 
       this.style.backgroundColor = "black";
       this.style.backgroundColor = "black";
       $(".node-"+this.mainnode+"-"+this.type+"-"+this.i).css({"width":"3px","height":"3px"});
       $(".node-"+this.mainnode+"-"+this.type+"-"+this.i).css({"width":"3px","height":"3px"});
Line 268: Line 267:
         }
         }
       }
       }
 +
      /*
       if(this.type=="parent") {
       if(this.type=="parent") {
           if(document.getElementById("node"+mainnode+"-"+this.type+"-"+(general.n[this.x-1]))) {
           if(document.getElementById("node"+mainnode+"-"+this.type+"-"+(general.n[this.x-1]))) {
Line 300: Line 300:
           }
           }
         }
         }
 +
        */
     };
     };
     node[i].onmouseout = function() {
     node[i].onmouseout = function() {
Line 322: Line 323:
         }
         }
       }
       }
-
 
+
/*
       if(this.type=="parent") {
       if(this.type=="parent") {
             for(j=i-1;document.getElementById("nodediv"+this.type+"-"+j);j--) {
             for(j=i-1;document.getElementById("nodediv"+this.type+"-"+j);j--) {
Line 335: Line 336:
             }
             }
         }
         }
 +
*/
     };
     };
     if(general.type == "parent") {
     if(general.type == "parent") {

Revision as of 11:31, 27 October 2013