Team:UNIK Copenhagen/test2

From 2014.igem.org

(Difference between revisions)
Line 4: Line 4:
<SCRIPT LANGUAGE="JavaScript">
<SCRIPT LANGUAGE="JavaScript">
var num=1
var num=1
-
img1 = new Image ()
+
img12 = new Image ()
-
img1.src = "https://static.igem.org/mediawiki/2014/f/fc/Team_UNIK_Copenhagen_Lego_E.PNG"
+
img12.src = "https://static.igem.org/mediawiki/2014/f/fc/Team_UNIK_Copenhagen_Lego_E.PNG"
-
img2 = new Image ()
+
img22 = new Image ()
-
img2.src = "https://static.igem.org/mediawiki/2014/1/10/Team_UNIK_Copenhagen_Lego_Are_you_a_builder.PNG"
+
img22.src = "https://static.igem.org/mediawiki/2014/1/10/Team_UNIK_Copenhagen_Lego_Are_you_a_builder.PNG"
-
img3 = new Image ()
+
img32 = new Image ()
-
img3.src = "https://static.igem.org/mediawiki/2014/f/fa/Team_UNIK_Copenhagen_Lego_S.PNG"
+
img32.src = "https://static.igem.org/mediawiki/2014/f/fa/Team_UNIK_Copenhagen_Lego_S.PNG"
-
img4 = new Image ()
+
img42 = new Image ()
-
img4.src = "https://static.igem.org/mediawiki/2014/e/eb/Team_UNIK_Copenhagen_Lego_Y.PNG"  
+
img42.src = "https://static.igem.org/mediawiki/2014/e/eb/Team_UNIK_Copenhagen_Lego_Y.PNG"  
-
function slideshowUp()
+
text12 = "Some questions to think of when you make your gene construct:"
 +
text22 = "Some questions to think of before transforming your organism:"
 +
text32 = "Your organism was successfully transformed!"
 +
text42 = "Congratulation, your biological system works!"
 +
 
 +
function slideshowUp2()
{
{
num=num+1
num=num+1
if (num==5)
if (num==5)
{num=1}
{num=1}
-
document.mypic.src=eval("img"+num+".src")
+
document.mypic2.src=eval("img"+num+".src")
}
}
</script>
</script>
Line 25: Line 30:
<body>
<body>
-
<IMG SRC="https://static.igem.org/mediawiki/2014/d/db/Team_UNIK_Copenhagen_Start_construct.PNG" NAME="mypic" BORDER=0 HEIGHT="150" WIDTH="150">
+
<IMG SRC="https://static.igem.org/mediawiki/2014/d/db/Team_UNIK_Copenhagen_Start_construct.PNG" NAME="mypic2" BORDER=0 HEIGHT="150" WIDTH="150">
Enter you sequence:  <input type="text" size="20">  
Enter you sequence:  <input type="text" size="20">  
-
<A HREF="JavaScript:slideshowUp()">Click to add your sequence</A>
+
<A HREF="JavaScript:slideshowUp2()">Click to add your sequence</A>
</body>
</body>
</html>
</html>

Revision as of 08:04, 23 August 2014

Enter you sequence: Click to add your sequence