Difference between revisions of "Team:Reading/Team"
Line 37: | Line 37: | ||
var menucount = 0; | var menucount = 0; | ||
− | function changeBioContent(index){ | + | function changeBioContent(Button, index){ |
//add a </br> to break the line, also do not include " without a \ before, eg: \" | //add a </br> to break the line, also do not include " without a \ before, eg: \" | ||
Line 77: | Line 77: | ||
teamHTML += '<tr>'; | teamHTML += '<tr>'; | ||
for(i2 = 0; i2 < 3; i2++){ | for(i2 = 0; i2 < 3; i2++){ | ||
− | if(index < names.length){teamHTML += '<td align="center">' + 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' + pictureName[index] + ');" onmouseover="changeBioContent(' + index + ')"></div></td>'; | + | if(index < names.length){teamHTML += '<td align="center">' + 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' + pictureName[index] + ');" onmouseover="changeBioContent(this, ' + index + ')"></div></td>'; |
index += 1;} | index += 1;} | ||
else{ | else{ |
Revision as of 18:04, 24 July 2015
Reading University's iGEM Team 2015
.
|
Roll over the images to see the team member bio and extra photos in here. |