Template:Team:Bonn:NetworkBottom

From 2013.igem.org

(Difference between revisions)
Line 175: Line 175:
     var nodeSummary = new Array;
     var nodeSummary = new Array;
     nodeSummary[i] = document.createElement("DIV");
     nodeSummary[i] = document.createElement("DIV");
-
     nodeSummary[i].style.width = "200px";
+
     nodeSummary[i].style.width = "150px";
     nodeSummary[i].style.zIndex = "99";
     nodeSummary[i].style.zIndex = "99";
     nodeSummary[i].id = "nodeSummary"+i;
     nodeSummary[i].id = "nodeSummary"+i;
Line 186: Line 186:
     nodeSummary[i].top = nodeTitle[i].top+parseInt(nodeTitle[i].style.height)+10;
     nodeSummary[i].top = nodeTitle[i].top+parseInt(nodeTitle[i].style.height)+10;
     nodeSummary[i].style.top = nodeSummary[i].top +"px";
     nodeSummary[i].style.top = nodeSummary[i].top +"px";
-
     if(general.type == "child") {
+
     nodeSummary[i].left = 10;
-
        nodeSummary[i].left = nodeTitle[i].left-80;
+
-
    } else {
+
-
        nodeSummary[i].left = nodeTitle[i].left;
+
-
    }
+
     nodeSummary[i].style.left = nodeSummary[i].left+"px";
     nodeSummary[i].style.left = nodeSummary[i].left+"px";
     nodeSummary[i].style.color = "white";
     nodeSummary[i].style.color = "white";

Revision as of 12:05, 27 October 2013