Template:Team:Bonn:NetworkTop

From 2013.igem.org

(Difference between revisions)
Line 210: Line 210:
           getElements(i);
           getElements(i);
           if(content.childs.length ==0) {
           if(content.childs.length ==0) {
-
                 height = general.height/4;
+
                 height = general.height/3;
-
                 width = general.width/4;
+
                 width = general.width/3;
                 cheight = 9;
                 cheight = 9;
                 cwidth = 9;
                 cwidth = 9;
Line 218: Line 218:
                 cwidth = 13;
                 cwidth = 13;
                 if(content.childs.length < 6) {
                 if(content.childs.length < 6) {
-
                         height = general.height/6 *content.childs.length;
+
                         height = general.height/5 *content.childs.length;
-
                         width = general.width/6 * content.childs.length;
+
                         width = general.width/5 * content.childs.length;
                 } else {
                 } else {
                         height = general.height;
                         height = general.height;

Revision as of 13:44, 4 October 2013