Template:Peking2012 CSS

From 2012.igem.org

(Difference between revisions)
m
m
Line 861: Line 861:
   tmp = document.getElementById("PKU_banner_Team_submenu");
   tmp = document.getElementById("PKU_banner_Team_submenu");
   tmp.style.height = SubmenuHeight_Cur_Team * 30 + "px";
   tmp.style.height = SubmenuHeight_Cur_Team * 30 + "px";
-
   tmp.style.top = 254 - SubmenuHeight_Cur_Team * 30 + "px";
+
   tmp.style.top = 194 + SubmenuHeight_Cur_Team * 30 + "px";
   tmp = document.getElementById("PKU_banner_Project_submenu");
   tmp = document.getElementById("PKU_banner_Project_submenu");
   tmp.style.height = SubmenuHeight_Cur_Project * 30 + "px";
   tmp.style.height = SubmenuHeight_Cur_Project * 30 + "px";
-
   tmp.style.top = 254 - SubmenuHeight_Cur_Project * 30 + "px";
+
   tmp.style.top = 194 + SubmenuHeight_Cur_Project * 30 + "px";
   tmp = document.getElementById("PKU_banner_Modeling_submenu");
   tmp = document.getElementById("PKU_banner_Modeling_submenu");
   tmp.style.height = SubmenuHeight_Cur_Modeling * 30 + "px";
   tmp.style.height = SubmenuHeight_Cur_Modeling * 30 + "px";
-
   tmp.style.top = 254 - SubmenuHeight_Cur_Modeling * 30 + "px";
+
   tmp.style.top = 194 + SubmenuHeight_Cur_Modeling * 30 + "px";
   tmp = document.getElementById("PKU_banner_HumanPractice_submenu");
   tmp = document.getElementById("PKU_banner_HumanPractice_submenu");
   tmp.style.height = SubmenuHeight_Cur_HumanPractice * 30 + "px";
   tmp.style.height = SubmenuHeight_Cur_HumanPractice * 30 + "px";
-
   tmp.style.top = 254 - SubmenuHeight_Cur_HumanPractice * 30 + "px";
+
   tmp.style.top = 194 + SubmenuHeight_Cur_HumanPractice * 30 + "px";
}
}

Revision as of 02:09, 9 August 2012