Team:Heidelberg LSL/Online store

From 2012hs.igem.org

(Difference between revisions)
Line 28: Line 28:
var Sundraarray = new Array();
var Sundraarray = new Array();
 +
var Sundroarray = new Array();
for (var i = 0; i <= 2; i++) {
for (var i = 0; i <= 2; i++) {
Sundraarray[i] = new Image();
Sundraarray[i] = new Image();
 +
Sundroarray[i] = new Image();
}
}
Sundraarray[1].src="https://static.igem.org/mediawiki/2012hs/3/31/Sundra_button1.png";
Sundraarray[1].src="https://static.igem.org/mediawiki/2012hs/3/31/Sundra_button1.png";
Sundraarray[2].src="https://static.igem.org/mediawiki/2012hs/1/10/Sundra_button2.png";
Sundraarray[2].src="https://static.igem.org/mediawiki/2012hs/1/10/Sundra_button2.png";
 +
 +
 +
Sundroarray[1].src="https://static.igem.org/mediawiki/2012hs/8/81/Sundro_button1.png";
 +
Sundroarray[2].src="https://static.igem.org/mediawiki/2012hs/0/01/Sundro_button2.png";
 +
Line 41: Line 48:
switch (num) {
switch (num) {
case 1: document.getElementById("pic"+num).src =Sundraarray[effect].src;
case 1: document.getElementById("pic"+num).src =Sundraarray[effect].src;
 +
break;
 +
        case 2: document.getElementById("pic"+num).src =Sundroarray[effect].src;
break;
break;
}
}
Line 71: Line 80:
<div id="a4">
<div id="a4">
-
<a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Sundro_col" >
+
<a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Sundro_col" onMouseOver="mouseOver(1)" onMouseOut="mouseOut(1)">
<img id="pic1" src="https://static.igem.org/mediawiki/2012hs/8/81/Sundro_button1.png" width="160"/>
<img id="pic1" src="https://static.igem.org/mediawiki/2012hs/8/81/Sundro_button1.png" width="160"/>
</a>
</a>
</div>
</div>
 +
<div id="a5">
<div id="a5">
<a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Sundra_col" onMouseOver="mouseOver(2)" onMouseOut="mouseOut(2)">
<a href="http://2012HS.igem.org/Team:Heidelberg_LSL/Sundra_col" onMouseOver="mouseOver(2)" onMouseOut="mouseOut(2)">

Revision as of 18:45, 7 June 2012

iGEM-2012HS - LSL-Heidelberg iGEM-2012HS - LSL-Heidelberg