Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 319: Line 319:
function changeImg(n) {
function changeImg(n) {
-
document.getElementById('galImg').innerHTML = imgname[n];
+
var name = imgname[n];
 +
var imgobj = document.getElementById('galImg');
 +
imgobj.src = name;
}
}

Revision as of 16:55, 13 January 2015