Biomod/2013/OSU/media

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 96: Line 96:
if (counter >= imgs.length){counter = 0;}
if (counter >= imgs.length){counter = 0;}
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
-
document.getElementById("img-caption").innerHTML(captions[counter]);
+
document.getElementById("img-caption").innerHTML = captions[counter];
}
}
Line 104: Line 104:
if (counter < 0 ){counter = imgs.length - 1;}
if (counter < 0 ){counter = imgs.length - 1;}
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
-
document.getElementById("img-caption").innerHTML(captions[counter]);
+
document.getElementById("img-caption").innerHTML = captions[counter];
}
}

Revision as of 11:10, 29 August 2013


<< Back to Team Pages

Edit

Video Blogs

View the rest of our Video Blog posts on out Youtube Channel!

Photos

<<
>>

Front view of our structure


Views
Personal tools