Difference between revisions of "Team:Reading/Team"

Line 60: Line 60:
 
var index = 0;
 
var index = 0;
 
var names = ["Benny Bostock", "Chris Tucker", "Emily Capes", "Izzah Elahi", "Matt Shepherd", "Nasser Al-Farhan", "Pete Roe", "Pete Whitehead", "Tom Biggs", "Thomas Ward-Leggat", "Jenny Pasang"];
 
var names = ["Benny Bostock", "Chris Tucker", "Emily Capes", "Izzah Elahi", "Matt Shepherd", "Nasser Al-Farhan", "Pete Roe", "Pete Whitehead", "Tom Biggs", "Thomas Ward-Leggat", "Jenny Pasang"];
var pictureName = ["/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)", "/4/41/Blankprofile.png)"];
+
var pictureName = ["/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png", "/4/41/Blankprofile.png"];
 
var teamHTML = '<table style="width:100%; color:#05a4ff; background-color:#e3e3e3">';
 
var teamHTML = '<table style="width:100%; color:#05a4ff; background-color:#e3e3e3">';
 
var newline = true;
 
var newline = true;
Line 66: Line 66:
 
teamHTML += '<tr>';
 
teamHTML += '<tr>';
 
for(i2 = 0; i2 < 3; i2++){
 
for(i2 = 0; i2 < 3; i2++){
if(index < names.length){teamHTML += '<td>' + names[index] + '<div style="border-style:solid; border-color:#ffffff; border-width:5px; border-radius:50px; height: 100px; width: 150px; background-size:cover; background-image:url(https://static.igem.org/mediawiki/2015/' + pictures[index] +'); onmouseover="changeBioContent(' + index + ')"></div></td>';
+
if(index < names.length){teamHTML += '<td>' + names[index] + '<div style="border-style:solid; border-color:#ffffff; border-width:5px; border-radius:50px; height: 100px; width: 150px; background-size:cover; background-image:url(https://static.igem.org/mediawiki/2015' + pictures[index] + ');" onmouseover="changeBioContent(' + index + ')"></div></td>';
 
index += 1;}
 
index += 1;}
 
else{
 
else{

Revision as of 09:10, 23 July 2015

The Reading team
Reading University's iGEM Team 2015
Roll over the images to see the team member bio and extra photos in here.