Team:Reading/Template:MenuFunctions.js
<HEAD> <SCRIPT LANGUAGE="JavaScript">
function buildMenu(){ var menuHTML = '.'; for(i1 = 0; i1 < pagenames.length; i1++){ if(pagenames[i1].length <= 1){
menuHTML += '<a style = "color: #ffffff;text-decoration:none;" href="https://2015.igem.org/Team:' + address[i1][0] + '">' + pagenames[i1][0] + '</a>
';
}else{
menuHTML += '' + pagenames[i1][0] + '
';
} } document.getElementById("Menu").innerHTML= menuHTML; //document.getElementById("SubMenu").style.visibility = "hidden"; }
</SCRIPT> </HEAD>