Team:UNITS Trieste/Template:Header
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
if($('.current_page_item').length>0||$('#access strong').length>1) { | if($('.current_page_item').length>0||$('#access strong').length>1) { | ||
//var subm = $('#access strong').parents("ul.children").find("li.page_item"); | //var subm = $('#access strong').parents("ul.children").find("li.page_item"); | ||
- | + | ||
var destination = $('#submenu'); | var destination = $('#submenu'); | ||
- | |||
var subm = $('#access strong').parents("ul.children").find("li.page_item"); | var subm = $('#access strong').parents("ul.children").find("li.page_item"); | ||
- | |||
$.each( subm, function( intIndex, objValue ){ | $.each( subm, function( intIndex, objValue ){ | ||
+ | var linkm = objValue.firstChild; | ||
+ | if(linkm == [object HTMLElement]); | ||
+ | else destination.append($( "<span>" + linkm + "</span>" )); | ||
destination.append($( "<span>" + objValue.firstChild.innerHTML + "</span>" )); | destination.append($( "<span>" + objValue.firstChild.innerHTML + "</span>" )); | ||
}); | }); |
Revision as of 09:35, 27 August 2011
SINBIOME
... an innovative synthetic biome in which bacteria and eukaryotic cells need each other to survive!