Difference between revisions of "Template:ReadingTeamFunctions"
Line 30: | Line 30: | ||
teamHTML += '<tr>'; | teamHTML += '<tr>'; | ||
for(i2 = 0; i2 < 3; i2++){ | for(i2 = 0; i2 < 3; i2++){ | ||
− | if(index < names.length){teamHTML += '<td align="center">< | + | if(index < names.length){teamHTML += '<td align="center"><p style=\"font-size:130%\">' + names[index] + '</p><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>'; |
index += 1;} | index += 1;} | ||
else{ | else{ | ||
Line 51: | Line 51: | ||
teamHTML += '<tr>'; | teamHTML += '<tr>'; | ||
for(i2 = 0; i2 < 3; i2++){ | for(i2 = 0; i2 < 3; i2++){ | ||
− | if(index < names.length){teamHTML += '<td align="center"><p style=\"font-size: | + | if(index < names.length){teamHTML += '<td align="center"><p style=\"font-size:130%\">' + names[index] + '</p><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] + ');"></div></td>'; |
index += 1;} | index += 1;} | ||
else{ | else{ |
Revision as of 23:27, 5 August 2015