Template:Peking2012 CSS

From 2012.igem.org

(Difference between revisions)
m
m
 
(3 intermediate revisions not shown)
Line 496: Line 496:
   <ul id="PKU_banner_menu">
   <ul id="PKU_banner_menu">
   <li class="border">
   <li class="border">
-
     <img src="" alt="|" >
+
     <img src="/wiki/images/6/64/Peking2012_BannerMenu_Side.png" alt="|" >
   </li>
   </li>
   <li>
   <li>
     <a id="PKU_banner_Home" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" 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/b/b2/Peking2012_BannerMenu_Home_H.png" alt="Home" />
     </a>
     </a>
   </li>
   </li>
   <li>
   <li>
-
     <a id="PKU_banner_Team" onmouseover="ButtonMouseOver(this);ShowSubmenuTeam();" onmouseout="ButtonMouseOut(this);WithdrawSubmenuTeam();" href="/Team:Peking/Team">
+
     <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/3/34/Peking2012_BannerMenuH_Team.png" alt="Team" />
+
     <img class="show" src="/wiki/images/9/9d/Peking2012_BannerMenu_Team_H.png" alt="Team" />
     </a>
     </a>
   </li>
   </li>
   <li>
   <li>
-
     <a id="PKU_banner_Project" onmouseover="ButtonMouseOver(this);ShowSubmenuProject();" onmouseout="ButtonMouseOut(this);WithdrawSubmenuProject();" href="/Team:Peking/Project">
+
     <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/3/34/Peking2012_BannerMenuH_Project.png" alt="Project" />
+
     <img class="show" src="/wiki/images/b/b0/Peking2012_BannerMenu_Project_H.png" alt="Project" />
     </a>
     </a>
   </li>
   </li>
Line 519: Line 519:
     <a id="PKU_banner_Parts" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" 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/fa/Peking2012_BannerMenu_Parts_H.png" alt="Parts" />
     </a>
     </a>
   </li>
   </li>
   <li>
   <li>
-
     <a id="PKU_banner_Modeling" onmouseover="ButtonMouseOver(this);ShowSubmenuModeling();" onmouseout="ButtonMouseOut(this);WithdrawSubmenuModeling();" href="/Team:Peking/Modeling">
+
     <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/b/ba/Peking2012_BannerMenuH_Modeling.png" alt="Modeling" />
+
     <img class="show" src="/wiki/images/6/60/Peking2012_BannerMenu_Modeling_H.png" alt="Modeling" />
     </a>
     </a>
   </li>
   </li>
   <li>
   <li>
-
     <a id="PKU_banner_HumanPractice" onmouseover="ButtonMouseOver(this);ShowSubmenuHumanPractice();" onmouseout="ButtonMouseOut(this);WithdrawSubmenuHumanPractice();" href="/Team:Peking/HumanPractice">
+
     <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/54/Peking2012_BannerMenuH_HumanPractice.png" alt="HumanPractice" />
+
     <img class="show" src="/wiki/images/5/57/Peking2012_BannerMenu_HumanPractice_H.png" alt="HumanPractice" />
     </a>
     </a>
   </li>
   </li>
Line 537: Line 537:
     <a id="PKU_banner_Safety" onmouseover="ButtonMouseOver(this);HideSubmenuAll();" 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/08/Peking2012_BannerMenu_Safety_H.png" alt="Safety" />
     </a>
     </a>
   </li>
   </li>
   <li class="border">
   <li class="border">
-
     <img src="" alt="|" >
+
     <img src="/wiki/images/6/64/Peking2012_BannerMenu_Side.png" alt="|" >
   </li>
   </li>
   </ul>
   </ul>
Line 580: Line 580:
   <ul id="PKU_banner_Project_submenu" class="PKU_banner_submenu" onmouseover="HoldSubmenuProject();" onmouseout="WithdrawSubmenuProject();" >
   <ul id="PKU_banner_Project_submenu" class="PKU_banner_submenu" onmouseover="HoldSubmenuProject();" onmouseout="WithdrawSubmenuProject();" >
   <li class="border">
   <li class="border">
-
     <img src="" alt="|" >
+
     <img src="/wiki/images/d/d4/Peking2012_BannerSubmenu_Side.png" alt="|" >
   </li>
   </li>
   <li class="sub3">
   <li class="sub3">
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()
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;
-
   SubmenuHeight_Des_Team = 0;
+
   HideSubmenuTeam();
-
   SubmenuHeight_Des_Modeling = 0;
+
   HideSubmenuModeling();
-
   SubmenuHeight_Des_HumanPractice = 0;
+
   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;
-
   SubmenuHeight_Des_Project = 0;
+
   HideSubmenuProject();
-
   SubmenuHeight_Des_Team = 0;
+
   HideSubmenuTeam();
-
   SubmenuHeight_Des_HumanPractice = 0;
+
   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;
-
   SubmenuHeight_Des_Project = 0;
+
   HideSubmenuProject();
-
   SubmenuHeight_Des_Modeling = 0;
+
   HideSubmenuModeling();
-
   SubmenuHeight_Des_Team = 0;
+
   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