Team:UNITS Trieste/Template:Header

From 2011.igem.org

(Difference between revisions)
Line 8: Line 8:
           { $('#access ul li a').removeClass("current_page_item");  
           { $('#access ul li a').removeClass("current_page_item");  
             $('#access strong').parents("li.page_item").find("a:not(ul ul a)").addClass("current_page_item");
             $('#access strong').parents("li.page_item").find("a:not(ul ul a)").addClass("current_page_item");
 +
alert($('#access strong').lenght);
               if($('.current_page_item').length>0||$('#access strong').lenght>1) alert("submenu");
               if($('.current_page_item').length>0||$('#access strong').lenght>1) alert("submenu");
           }
           }

Revision as of 08:30, 26 August 2011