Template:Peking2012 CSS
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 494: | Line 494: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Home" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" href="/Team:Peking"> | + | <a id="PKU_banner_Home" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" onmouseout="ButtonMouseOut(this);" href="/Team:Peking"> |
<img class="show" src="/wiki/images/7/71/Peking2012_BannerMenu_Home.png" alt="Home" /> | <img class="show" src="/wiki/images/7/71/Peking2012_BannerMenu_Home.png" alt="Home" /> | ||
<img class="show" src="/wiki/images/0/06/Peking2012_BannerMenuH_Home.png" alt="Home" /> | <img class="show" src="/wiki/images/0/06/Peking2012_BannerMenuH_Home.png" alt="Home" /> | ||
Line 512: | Line 512: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Parts" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" href="/Team:Peking/Parts"> | + | <a id="PKU_banner_Parts" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" onmouseout="ButtonMouseOut(this);" href="/Team:Peking/Parts"> |
<img class="show" src="/wiki/images/f/f2/Peking2012_BannerMenu_Parts.png" alt="Parts" /> | <img class="show" src="/wiki/images/f/f2/Peking2012_BannerMenu_Parts.png" alt="Parts" /> | ||
<img class="show" src="/wiki/images/f/ff/Peking2012_BannerMenuH_Parts.png" alt="Parts" /> | <img class="show" src="/wiki/images/f/ff/Peking2012_BannerMenuH_Parts.png" alt="Parts" /> | ||
Line 530: | Line 530: | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a id="PKU_banner_Safety" onmouseover="ButtonMouseOver(this);" onmouseout="ButtonMouseOut(this);" href="/Team:Peking/Safety"> | + | <a id="PKU_banner_Safety" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" onmouseout="ButtonMouseOut(this);" href="/Team:Peking/Safety"> |
<img class="show" src="/wiki/images/f/f5/Peking2012_BannerMenu_Safety.png" alt="Safety" /> | <img class="show" src="/wiki/images/f/f5/Peking2012_BannerMenu_Safety.png" alt="Safety" /> | ||
<img class="show" src="/wiki/images/0/05/Peking2012_BannerMenuH_Safety.png" alt="Safety" /> | <img class="show" src="/wiki/images/0/05/Peking2012_BannerMenuH_Safety.png" alt="Safety" /> | ||
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 = 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 = 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 = 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"; | ||
} | } | ||
Revision as of 02:07, 9 August 2012