Biomod/2013/OSU/media

From OpenWetWare

(Difference between revisions)
Jump to: navigation, search
Line 87: Line 87:
var imgs = ["http://openwetware.org/images/5/5b/OSU_Deformed_shape1.png", "http://openwetware.org/images/5/50/OSU_Deformed_shape2.png", "http://openwetware.org/images/8/8b/OSUwetlab1.jpg", "http://openwetware.org/images/d/dc/OSUwetlab2.jpg", "http://openwetware.org/images/0/09/OSUwetlab3.jpg", "http://openwetware.org/images/4/43/OSUwetlab4.jpg", "http://openwetware.org/images/b/be/OSUwetlab5.jpg"];
var imgs = ["http://openwetware.org/images/5/5b/OSU_Deformed_shape1.png", "http://openwetware.org/images/5/50/OSU_Deformed_shape2.png", "http://openwetware.org/images/8/8b/OSUwetlab1.jpg", "http://openwetware.org/images/d/dc/OSUwetlab2.jpg", "http://openwetware.org/images/0/09/OSUwetlab3.jpg", "http://openwetware.org/images/4/43/OSUwetlab4.jpg", "http://openwetware.org/images/b/be/OSUwetlab5.jpg"];
 +
 +
var allImgs = imgs;
 +
var structureImgs = [imgs[0], imgs[1]];
 +
var LabImgs = [imgs[2], imgs[3],imgs[4],imgs[5],imgs[6]];
var captions = ["Side view of our structure", "Front view of our structure", "Our lab", "Our lab again", "and again...", "Gel electrophoresis", "Examining the gel after running"];
var captions = ["Side view of our structure", "Front view of our structure", "Our lab", "Our lab again", "and again...", "Gel electrophoresis", "Examining the gel after running"];
Line 92: Line 96:
var counter = 0;
var counter = 0;
-
function changeToLab(){
+
function changeImages(var type){
-
imgs = ["http://openwetware.org/images/5/50/OSU_Deformed_shape2.png", "http://openwetware.org/images/8/8b/OSUwetlab1.jpg", "http://openwetware.org/images/d/dc/OSUwetlab2.jpg", "http://openwetware.org/images/0/09/OSUwetlab3.jpg", "http://openwetware.org/images/4/43/OSUwetlab4.jpg", "http://openwetware.org/images/b/be/OSUwetlab5.jpg"];
+
alert(type);
counter = 0;
counter = 0;
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
document.getElementById("slider-img").setAttribute("src", imgs[counter]);
Line 137: Line 141:
<h1>Photos</h1>
<h1>Photos</h1>
-
<a onClick="changeToLab();">Lab Photos</a>
+
<a onClick="changeToLab("lab");">Lab Photos</a>
-
<a onClick="changeToStructure();">Structure Photos</a>
+
<a onClick="changeToStructure("struct");">Structure Photos</a>

Revision as of 11:23, 29 August 2013


<< Back to Team Pages

Edit

Video Blogs

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

Photos

Lab Photos Structure Photos
<<
>>

Front view of our structure

Please direct all inquiries to our group email at theohiomod@gmail.com.

Views
Personal tools