Difference between revisions of "Team:Reading/Team"

Line 1: Line 1:
 
<html>
 
<html>
{{MenuTemplate}}
+
 
 
<HEAD>
 
<HEAD>
 
 
<SCRIPT SRC="https://2015.igem.org/Team:Reading/Template:MenuFunctions.js">
 
</SCRIPT>
 
 
<SCRIPT LANGUAGE="JavaScript">
 
<SCRIPT LANGUAGE="JavaScript">
  
Line 91: Line 87:
 
teamHTML += '</table>';
 
teamHTML += '</table>';
 
document.getElementById("teamtable").innerHTML= teamHTML;
 
document.getElementById("teamtable").innerHTML= teamHTML;
 +
}
 +
 +
function buildMenu(){
 +
var menuHTML = '.';
 +
for(i1 = 0; i1 < pagenames.length; i1++){
 +
if(pagenames[i1].length <= 1){
 +
menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "vertical-align:text-bottom; height:100%; width:80px; float:left; text-align:center;"><a style = "color: #ffffff;text-decoration:none;" href="https://2015.igem.org/Team:' + address[i1][0] + '">' + pagenames[i1][0] + '</a></div>';
 +
}else{
 +
menuHTML += '<div onmouseout="dullMenu(this)"onmouseover="lightUpMenu(this, ' + i1 + ')" style = "vertical-align:text-bottom; height:100%; width:80px; float:left; text-align:center;">' + pagenames[i1][0] + '</div>';
 +
}
 +
}
 +
document.getElementById("Menu").innerHTML= menuHTML;
 +
//document.getElementById("SubMenu").style.visibility = "hidden";
 
}
 
}
  

Revision as of 22:58, 24 July 2015

Roll over the images to see the team member bio and extra photos in here.