Template:Peking2012 CSS

From 2012.igem.org

(Difference between revisions)
m
m
 
Line 721: Line 721:
function HideSubmenuAll()
function HideSubmenuAll()
{
{
-
   SubmenuHeight_Des_Team = 0;
+
   HideSubmenuTeam();
-
  document.getElementById("PKU_banner_Team_submenu").style.zIndex = 1;
+
   HideSubmenuProject();
-
   if (handleSubmenu_Team) clearTimeout(handleSubmenu_Team);
+
   HideSubmenuModeling();
-
   handleSubmenu_Team = null;
+
   HideSubmenuHumanPractice();
-
  SubmenuHeight_Des_Project = 0;
+
-
  document.getElementById("PKU_banner_Project_submenu").style.zIndex = 1;
+
-
   if (handleSubmenu_Project) clearTimeout(handleSubmenu_Project);
+
-
  handleSubmenu_Project = null;
+
-
  SubmenuHeight_Des_Modeling = 0;
+
-
  document.getElementById("PKU_banner_Modeling_submenu").style.zIndex = 1;
+
-
  if (handleSubmenu_Modeling) clearTimeout(handleSubmenu_Modeling);
+
-
  handleSubmenu_Modeling = null;
+
-
  SubmenuHeight_Des_HumanPractice = 0;
+
-
  document.getElementById("PKU_banner_HumanPractice_submenu").style.zIndex = 1;
+
-
  if (handleSubmenu_HumanPractice) clearTimeout(handleSubmenu_HumanPractice);
+
-
  handleSubmenu_HumanPractice = null;
+
}
}
Line 744: Line 732:
   SubmenuHeight_Des_Team = 1;
   SubmenuHeight_Des_Team = 1;
   document.getElementById("PKU_banner_Team_submenu").style.zIndex = 2;
   document.getElementById("PKU_banner_Team_submenu").style.zIndex = 2;
-
   SubmenuHeight_Des_Project = 0;
+
   HideSubmenuProject();
-
   SubmenuHeight_Des_Modeling = 0;
+
   HideSubmenuModeling();
-
   SubmenuHeight_Des_HumanPractice = 0;
+
   HideSubmenuHumanPractice();
}
}
function HideSubmenuTeam()
function HideSubmenuTeam()

Latest revision as of 12:16, 11 August 2012