Team:MSOE Milwaukee/Undergrads
From 2013.igem.org
Vanhandelp (Talk | contribs) |
Vanhandelp (Talk | contribs) |
||
Line 12: | Line 12: | ||
Selena Dickenson<br> | Selena Dickenson<br> | ||
</HTML> | </HTML> | ||
+ | <SCRIPT LANGUAGE="JavaScript"> | ||
+ | |||
+ | var num=1 | ||
+ | img1 = new Image () | ||
+ | img1.src = "https://static.igem.org/mediawiki/2013/e/ee/Matt_reichartz.png" | ||
+ | img2 = new Image () | ||
+ | img2.src = "https://static.igem.org/mediawiki/2013/e/ee/Matt_reichartz.png" | ||
+ | img3 = new Image () | ||
+ | img3.src = "https://static.igem.org/mediawiki/2013/e/ee/Matt_reichartz.png" | ||
+ | img4 = new Image () | ||
+ | img4.src = "https://static.igem.org/mediawiki/2013/e/ee/Matt_reichartz.png" | ||
+ | |||
+ | text1 = "This is Matt" | ||
+ | text2 = "This is still Matt" | ||
+ | text3 = "This is a WIP" | ||
+ | text4 = "Still Matt" | ||
+ | |||
+ | function slideshowUp() | ||
+ | { | ||
+ | num=num+1 | ||
+ | if (num==5) | ||
+ | {num=1} | ||
+ | document.mypic.src=eval("img"+num+".src") | ||
+ | document.joe.burns.value=eval("text"+num) | ||
+ | } | ||
+ | |||
+ | function slideshowBack() | ||
+ | { | ||
+ | num=num-1 | ||
+ | if (num==0) | ||
+ | {num=4} | ||
+ | document.mypic.src=eval("img"+num+".src") | ||
+ | document.joe.burns.value=eval("text"+num) | ||
+ | } | ||
+ | |||
+ | </SCRIPT> | ||
+ | |||
+ | <!-- The Image and Form Codes are Below --> | ||
+ | |||
+ | <CENTER> | ||
+ | <IMG SRC="information.gif" NAME="mypic" BORDER=0 HEIGHT="100" WIDTH="100"> | ||
+ | <p> | ||
+ | |||
+ | <FORM NAME="joe"> | ||
+ | <INPUT TYPE="text" WIDTH="100" NAME="burns" VALUE="Text For Picture One"> | ||
+ | </FORM> | ||
+ | |||
+ | <A HREF="JavaScript:slideshowBack()"> Back</A> | ||
+ | |||
+ | <A HREF="JavaScript:slideshowUp()"> Next</A> |
Revision as of 22:53, 17 June 2013
Undergrads
Jenna HarvestinePatrick Van Handel
James Wiatr
Rebecca Majewski
Matthew Reichartz
Selena Dickenson
<SCRIPT LANGUAGE="JavaScript">
var num=1 img1 = new Image () img1.src = "" img2 = new Image () img2.src = "" img3 = new Image () img3.src = "" img4 = new Image () img4.src = ""
text1 = "This is Matt" text2 = "This is still Matt" text3 = "This is a WIP" text4 = "Still Matt"
function slideshowUp() { num=num+1 if (num==5) {num=1} document.mypic.src=eval("img"+num+".src") document.joe.burns.value=eval("text"+num) }
function slideshowBack() { num=num-1 if (num==0) {num=4} document.mypic.src=eval("img"+num+".src") document.joe.burns.value=eval("text"+num) }
</SCRIPT>
<IMG SRC="information.gif" NAME="mypic" BORDER=0 HEIGHT="100" WIDTH="100">
<FORM NAME="joe"> <INPUT TYPE="text" WIDTH="100" NAME="burns" VALUE="Text For Picture One"> </FORM> <A HREF="JavaScript:slideshowBack()"> Back</A> <A HREF="JavaScript:slideshowUp()"> Next</A>