Template:Team:Bonn:NetworkTop

From 2013.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 62: Line 62:
   title.style.opacity = "0.8";
   title.style.opacity = "0.8";
   title.style.zIndex = "1";
   title.style.zIndex = "1";
 +
  title.style.fontSize = "130%";
 +
  title.style.fontWeight = "Bold";
   title.id = divNetworkTitle;
   title.id = divNetworkTitle;
   title.style.position = "absolute";
   title.style.position = "absolute";
-
   title.top = -100;
+
   title.top = -120;
-
   title.right = -160;
+
   title.right = -185;
   title.style.top = title.top + "px";
   title.style.top = title.top + "px";
   title.style.right = title.right + "px";
   title.style.right = title.right + "px";
Line 71: Line 73:
   var summary = document.createElement("DIV");
   var summary = document.createElement("DIV");
-
   summary.height = 190;
+
   summary.height = 170;
-
   summary.width = 260;
+
   summary.width = 250;
   summary.style.height = summary.height+"px";
   summary.style.height = summary.height+"px";
   summary.style.width = summary.width+"px";
   summary.style.width = summary.width+"px";
Line 81: Line 83:
   summary.id = divNetworkSummary;
   summary.id = divNetworkSummary;
   summary.style.position = "absolute";
   summary.style.position = "absolute";
-
   summary.top = 10+title.top+title.height;
+
   summary.top = title.top+9+title.height;
   summary.right = title.right;
   summary.right = title.right;
   summary.style.top = summary.top + "px";
   summary.style.top = summary.top + "px";
Line 245: Line 247:
           getElements(i);
           getElements(i);
           if(content.childs.length <2) {
           if(content.childs.length <2) {
-
                 height = general.height/2;
+
                 height = general.height/3;
-
                 width = general.width/4;
+
                 width = general.width/5;
                 cheight = 9;
                 cheight = 9;
                 cwidth = 9;
                 cwidth = 9;

Latest revision as of 11:59, 27 October 2013