Team:UNITS Trieste/Template:Header

From 2011.igem.org

(Difference between revisions)
Line 11: Line 11:
               var subm = $('#access strong').parents("ul.children").find("li.page_item");
               var subm = $('#access strong').parents("ul.children").find("li.page_item");
               subm.each(function(index, item) {
               subm.each(function(index, item) {
 +
                var appendt = $('#submenu').html();
 +
                $('#submenu').html(appendt+"<span>"+subm.text()+"</span>");
                   var is_last_item = (index == (subm.length - 1));
                   var is_last_item = (index == (subm.length - 1));
               });  
               });  

Revision as of 17:46, 26 August 2011