Difference between revisions of "Dev/Results"

(Turned off deferRender, put alt attributes on the medal images)
(medal title attributes)
Line 93: Line 93:
 
'data': function(row, type, val, meta) {
 
'data': function(row, type, val, meta) {
 
if (row.medal.toUpperCase() == "GOLD") {
 
if (row.medal.toUpperCase() == "GOLD") {
return "<img alt='Gold Medal' src='https://igem.org/images/medals/seal_gold.png'>";
+
return "<img title='Gold Medal' src='https://igem.org/images/medals/seal_gold.png'>";
 
}
 
}
 
else if (row.medal.toUpperCase() == "SILVER") {
 
else if (row.medal.toUpperCase() == "SILVER") {
return "<img alt='Silver Medal' src='https://igem.org/images/medals/seal_silver.png'>";
+
return "<img title='Silver Medal' src='https://igem.org/images/medals/seal_silver.png'>";
 
}
 
}
 
else if (row.medal.toUpperCase() == "BRONZE") {
 
else if (row.medal.toUpperCase() == "BRONZE") {
return "<img alt='Bronze Medal' src='https://igem.org/images/medals/seal_bronze.png'>";
+
return "<img title='Bronze Medal' src='https://igem.org/images/medals/seal_bronze.png'>";
 
}
 
}
 
else if (row.medal.toUpperCase() == "NO MEDAL") {
 
else if (row.medal.toUpperCase() == "NO MEDAL") {
return "<img alt='No Medal' src='http://web.mit.edu/kdrinkwa/Public/Pictures/seal_transparent.png'>";
+
return "<img title='No Medal' src='http://web.mit.edu/kdrinkwa/Public/Pictures/seal_transparent.png'>";
 
}
 
}
 
else {
 
else {
return "<img alt='Medal Data Not Available' src='https://igem.org/images/medals/seal_blocked.png'>";
+
return "<img title='Medal Data Not Available' src='https://igem.org/images/medals/seal_blocked.png'>";
 
}
 
}
 
}
 
}

Revision as of 19:35, 23 September 2015

Comprehensive Results from iGEM 2015

View: [All Teams] [Award Winners] | [Africa] [Asia] [Europe] [Latin America][other?]

Team Medal Award