Team:Alberta/Templates/Header

From 2012.igem.org

(Difference between revisions)
Line 212: Line 212:
     $(".subMenu").css("display","none");
     $(".subMenu").css("display","none");
         $(menu).css("display","block");
         $(menu).css("display","block");
-
alert("This index: " + $("ul li.headerMenu").index( ) );
+
alert("This index: " + $("#menu li.headerMenu").index( $(menu) ) );
      
      
}
}
Line 222: Line 222:
<div class="sideBar">
<div class="sideBar">
<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 id="menu">
<li class="headerMenu"><a href="/Team:Alberta"><span>Home</span></a></li>
<li class="headerMenu"><a href="/Team:Alberta"><span>Home</span></a></li>
<li class="headerMenu"><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>

Revision as of 19:26, 25 September 2012