Template:Sifuentes04

From 2014.igem.org

(Difference between revisions)
Line 311: Line 311:
function changeTitle(n) {
function changeTitle(n) {
-
var imgTitle = titleFeatureBox[n];
+
document.getElementById("featureBoxTitle").innerHTML = titleFeatureBox[n];
-
document.getElementById("featureBoxTitle").innerHTML = imgTitle;
+
}
}
Line 320: Line 319:
function changeImg(n) {
function changeImg(n) {
-
var imgobj = document.getElementById('galImg');
+
document.getElementById("galImg").innerHTML = imgname[n];
-
imgobj.src = imgname[n];
+
}
}

Revision as of 16:54, 13 January 2015