Difference between revisions of "Template:ReadingTeamFunctions"
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"><b>' + names[index] + '</b><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] + '); | + | if(index < names.length){teamHTML += '<td align="center"><b>' + names[index] + '</b><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 12:12, 5 August 2015