Team:Alberta/Templates/Header
From 2012.igem.org
(Difference between revisions)
Line 75: | Line 75: | ||
.mainBody { | .mainBody { | ||
margin-left: 170px; | margin-left: 170px; | ||
+ | } | ||
+ | |||
+ | .headerMenu { | ||
} | } | ||
Line 209: | Line 212: | ||
$(".subMenu").css("display","none"); | $(".subMenu").css("display","none"); | ||
$(menu).css("display","block"); | $(menu).css("display","block"); | ||
+ | alert($(".headerMenu").index(menu)); | ||
} | } | ||
Line 219: | Line 223: | ||
<a href="http://www.ualberta.ca/"><img src="https://static.igem.org/mediawiki/2012/6/67/UofaLogo.png" /></a> | <a href="http://www.ualberta.ca/"><img src="https://static.igem.org/mediawiki/2012/6/67/UofaLogo.png" /></a> | ||
<ul> | <ul> | ||
- | <li><a href="/Team:Alberta"><span>Home</span></a></li> | + | <li class="headerMenu"><a href="/Team:Alberta"><span>Home</span></a></li> |
- | <li><a href="https://2012.igem.org/Team:Alberta/Team"><span>Team</span></a></li> | + | <li class="headerMenu"><a href="https://2012.igem.org/Team:Alberta/Team"><span>Team</span></a></li> |
- | <li onMouseOver="showSubMenu(contactSub);"><a href="#"><span>Project</span></a></li> | + | <li class="headerMenu" onMouseOver="showSubMenu(contactSub);"><a href="#"><span>Project</span></a></li> |
<div class="subMenu" id="contactSub"> | <div class="subMenu" id="contactSub"> | ||
<li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Project"><span>Overview</span></a></li> | <li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Project"><span>Overview</span></a></li> | ||
Line 237: | Line 241: | ||
</div> | </div> | ||
- | <li onMouseOver="showSubMenu(partsSub);"><a href="#"><span>Parts</span></a></li> | + | <li class="headerMenu" onMouseOver="showSubMenu(partsSub);"><a href="#"><span>Parts</span></a></li> |
<div class="subMenu" id="partsSub"> | <div class="subMenu" id="partsSub"> | ||
<li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Parts"><span>Parts Submitted</span></a></li> | <li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Parts"><span>Parts Submitted</span></a></li> | ||
Line 243: | Line 247: | ||
</div> | </div> | ||
- | <li onMouseOver="showSubMenu(diarySub);"><a href="#"><span>Notebook</span></a></li> | + | <li class="headerMenu" onMouseOver="showSubMenu(diarySub);"><a href="#"><span>Notebook</span></a></li> |
<div class="subMenu" id="diarySub"> | <div class="subMenu" id="diarySub"> | ||
<li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Notebook"><span>Journal</span></a></li> | <li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Notebook"><span>Journal</span></a></li> | ||
Line 250: | Line 254: | ||
</div> | </div> | ||
- | <li onMouseOver="showSubMenu(outreachSub);"><a href="#"><span>Outreach</span></a></li> | + | <li class="headerMenu" onMouseOver="showSubMenu(outreachSub);"><a href="#"><span>Outreach</span></a></li> |
<div class="subMenu" id="outreachSub"> | <div class="subMenu" id="outreachSub"> | ||
<li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Humanpratices"><span>Human Pratices</span></a></li> | <li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Humanpratices"><span>Human Pratices</span></a></li> | ||
</div> | </div> | ||
- | <li onMouseOver="showSubMenu(sponsorsSub);"><a href="#"><span>Sponsors</span></a></li> | + | <li class="headerMenu" onMouseOver="showSubMenu(sponsorsSub);"><a href="#"><span>Sponsors</span></a></li> |
<div class="subMenu" id="sponsorsSub"> | <div class="subMenu" id="sponsorsSub"> | ||
<li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Sponsors"><span>About Sponsors</span></a></li> | <li><a style="padding:8px 20px 0 35px;" href="/Team:Alberta/Sponsors"><span>About Sponsors</span></a></li> |
Revision as of 19:13, 25 September 2012
|