Team:UNITS Trieste/Template:Header

From 2011.igem.org

(Difference between revisions)
Line 12: Line 12:
               subm.each(function(index, item) {
               subm.each(function(index, item) {
                   var appendt = $('#submenu').html();
                   var appendt = $('#submenu').html();
-
                   $('#submenu').html(appendt+"<span>"+subm.text()+"</span>");
+
                   $('#submenu').html(appendt+"<span>"+subm[index]+"</span>");
                   var is_last_item = (index == (subm.length - 1));
                   var is_last_item = (index == (subm.length - 1));
               });  
               });  

Revision as of 00:53, 27 August 2011