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");
-
             if($('.current_page_item').length>0||$('#access strong').length>1) {
+
             if($('.current_page_item').length>0||$('#access strong').parent("li.page_item").children("ul.children").length>0) {
               //var subm = $('#access strong').parents("ul.children").find("li.page_item");
               //var subm = $('#access strong').parents("ul.children").find("li.page_item");
/*manage submenu actual page*/
/*manage submenu actual page*/

Revision as of 21:52, 2 September 2011