Team:Tsinghua/header

From 2010.igem.org

(Difference between revisions)
Line 7: Line 7:
     x=document.getElementById("leftbar");
     x=document.getElementById("leftbar");
-
     if(x == null)
+
     if(x != null)
     {
     {
         var t = document.getElementById("main_content");
         var t = document.getElementById("main_content");
-
         t.style.width="60%";
+
         t.style.width="40%";
         t.style.marginLeft="10%";
         t.style.marginLeft="10%";
     }
     }

Revision as of 09:29, 4 October 2010