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 = item.html();
+
                   var appendt = subm.html();
-
                   $('#submenu').html(appendt+"<span>"+item.text()+"</span>");
+
                   $('#submenu').html(appendt+"<span>"+item+"</span>");
                   var is_last_item = (index == (subm.length - 1));
                   var is_last_item = (index == (subm.length - 1));
               });  
               });  

Revision as of 00:47, 27 August 2011