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: " + $("li.headerMenu").index($(menu)));
+
alert("This index: " + $("ul li.headerMenu").index( $(menu) ) );
      
      
}
}

Revision as of 19:24, 25 September 2012