Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
(2 intermediate revisions not shown) | |||
Line 505: | Line 505: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Team" onmouseover="ButtonMouseOver(this);ShowSubmenuTeam();" onmouseout=" | + | <a id="PKU_banner_Team" onmouseover="ButtonMouseOver(this);ShowSubmenuTeam();" onmouseout="WithdrawSubmenuTeam();" href="/Team:Peking/Team"> |
<img class="show" src="/wiki/images/0/0b/Peking2012_BannerMenu_Team.png" alt="Team" /> | <img class="show" src="/wiki/images/0/0b/Peking2012_BannerMenu_Team.png" alt="Team" /> | ||
<img class="show" src="/wiki/images/9/9d/Peking2012_BannerMenu_Team_H.png" alt="Team" /> | <img class="show" src="/wiki/images/9/9d/Peking2012_BannerMenu_Team_H.png" alt="Team" /> | ||
Line 511: | Line 511: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Project" onmouseover="ButtonMouseOver(this);ShowSubmenuProject();" onmouseout=" | + | <a id="PKU_banner_Project" onmouseover="ButtonMouseOver(this);ShowSubmenuProject();" onmouseout="WithdrawSubmenuProject();" href="/Team:Peking/Project"> |
<img class="show" src="/wiki/images/2/2c/Peking2012_BannerMenu_Project.png" alt="Project" /> | <img class="show" src="/wiki/images/2/2c/Peking2012_BannerMenu_Project.png" alt="Project" /> | ||
<img class="show" src="/wiki/images/b/b0/Peking2012_BannerMenu_Project_H.png" alt="Project" /> | <img class="show" src="/wiki/images/b/b0/Peking2012_BannerMenu_Project_H.png" alt="Project" /> | ||
Line 523: | Line 523: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Modeling" onmouseover="ButtonMouseOver(this);ShowSubmenuModeling();" onmouseout=" | + | <a id="PKU_banner_Modeling" onmouseover="ButtonMouseOver(this);ShowSubmenuModeling();" onmouseout="WithdrawSubmenuModeling();" href="/Team:Peking/Modeling"> |
<img class="show" src="/wiki/images/9/97/Peking2012_BannerMenu_Modeling.png" alt="Modeling" /> | <img class="show" src="/wiki/images/9/97/Peking2012_BannerMenu_Modeling.png" alt="Modeling" /> | ||
<img class="show" src="/wiki/images/6/60/Peking2012_BannerMenu_Modeling_H.png" alt="Modeling" /> | <img class="show" src="/wiki/images/6/60/Peking2012_BannerMenu_Modeling_H.png" alt="Modeling" /> | ||
Line 529: | Line 529: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_HumanPractice" onmouseover="ButtonMouseOver(this);ShowSubmenuHumanPractice();" onmouseout=" | + | <a id="PKU_banner_HumanPractice" onmouseover="ButtonMouseOver(this);ShowSubmenuHumanPractice();" onmouseout="WithdrawSubmenuHumanPractice();" href="/Team:Peking/HumanPractice"> |
<img class="show" src="/wiki/images/9/93/Peking2012_BannerMenu_HumanPractice.png" alt="HumanPractice" /> | <img class="show" src="/wiki/images/9/93/Peking2012_BannerMenu_HumanPractice.png" alt="HumanPractice" /> | ||
<img class="show" src="/wiki/images/5/57/Peking2012_BannerMenu_HumanPractice_H.png" alt="HumanPractice" /> | <img class="show" src="/wiki/images/5/57/Peking2012_BannerMenu_HumanPractice_H.png" alt="HumanPractice" /> | ||
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 754: | Line 742: | ||
if (handleSubmenu_Team) clearTimeout(handleSubmenu_Team); | if (handleSubmenu_Team) clearTimeout(handleSubmenu_Team); | ||
handleSubmenu_Team = null; | handleSubmenu_Team = null; | ||
+ | ButtonMouseOut(document.getElementById("PKU_banner_Team")); | ||
} | } | ||
function WithdrawSubmenuTeam() | function WithdrawSubmenuTeam() | ||
Line 773: | 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 783: | Line 772: | ||
if (handleSubmenu_Project) clearTimeout(handleSubmenu_Project); | if (handleSubmenu_Project) clearTimeout(handleSubmenu_Project); | ||
handleSubmenu_Project = null; | handleSubmenu_Project = null; | ||
+ | ButtonMouseOut(document.getElementById("PKU_banner_Project")); | ||
} | } | ||
function WithdrawSubmenuProject() | function WithdrawSubmenuProject() | ||
Line 802: | 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 812: | Line 802: | ||
if (handleSubmenu_Modeling) clearTimeout(handleSubmenu_Modeling); | if (handleSubmenu_Modeling) clearTimeout(handleSubmenu_Modeling); | ||
handleSubmenu_Modeling = null; | handleSubmenu_Modeling = null; | ||
+ | ButtonMouseOut(document.getElementById("PKU_banner_Modeling")); | ||
} | } | ||
function WithdrawSubmenuModeling() | function WithdrawSubmenuModeling() | ||
Line 831: | 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() | ||
Line 841: | Line 832: | ||
if (handleSubmenu_HumanPractice) clearTimeout(handleSubmenu_HumanPractice); | if (handleSubmenu_HumanPractice) clearTimeout(handleSubmenu_HumanPractice); | ||
handleSubmenu_HumanPractice = null; | handleSubmenu_HumanPractice = null; | ||
+ | ButtonMouseOut(document.getElementById("PKU_banner_HumanPractice")); | ||
} | } | ||
function WithdrawSubmenuHumanPractice() | function WithdrawSubmenuHumanPractice() |
Latest revision as of 12:16, 11 August 2012