Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(One intermediate revision not shown) | |||
Line 721: | Line 721: | ||
function HideSubmenuAll() | function HideSubmenuAll() | ||
{ | { | ||
- | + | HideSubmenuTeam(); | |
- | + | HideSubmenuProject(); | |
- | + | HideSubmenuModeling(); | |
- | + | HideSubmenuHumanPractice(); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
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; | ||
- | + | HideSubmenuProject(); | |
- | + | HideSubmenuModeling(); | |
- | + | HideSubmenuHumanPractice(); | |
} | } | ||
function HideSubmenuTeam() | function HideSubmenuTeam() | ||
Line 774: | Line 762: | ||
SubmenuHeight_Des_Project = 1; | SubmenuHeight_Des_Project = 1; | ||
document.getElementById("PKU_banner_Project_submenu").style.zIndex = 2; | document.getElementById("PKU_banner_Project_submenu").style.zIndex = 2; | ||
- | + | HideSubmenuTeam(); | |
- | + | HideSubmenuModeling(); | |
- | + | HideSubmenuHumanPractice(); | |
} | } | ||
function HideSubmenuProject() | function HideSubmenuProject() | ||
Line 804: | Line 792: | ||
SubmenuHeight_Des_Modeling = 1; | SubmenuHeight_Des_Modeling = 1; | ||
document.getElementById("PKU_banner_Modeling_submenu").style.zIndex = 2; | document.getElementById("PKU_banner_Modeling_submenu").style.zIndex = 2; | ||
- | + | HideSubmenuProject(); | |
- | + | HideSubmenuTeam(); | |
- | + | HideSubmenuHumanPractice(); | |
} | } | ||
function HideSubmenuModeling() | function HideSubmenuModeling() | ||
Line 834: | Line 822: | ||
SubmenuHeight_Des_HumanPractice = 1; | SubmenuHeight_Des_HumanPractice = 1; | ||
document.getElementById("PKU_banner_HumanPractice_submenu").style.zIndex = 2; | document.getElementById("PKU_banner_HumanPractice_submenu").style.zIndex = 2; | ||
- | + | HideSubmenuProject(); | |
- | + | HideSubmenuModeling(); | |
- | + | HideSubmenuTeam(); | |
} | } | ||
function HideSubmenuHumanPractice() | function HideSubmenuHumanPractice() |
Latest revision as of 12:16, 11 August 2012