Team:Heidelberg LSL
From 2012hs.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
{{TopII}} | {{TopII}} | ||
{{Stylesheet}} | {{Stylesheet}} | ||
- | |||
<!-- | <!-- | ||
Line 25: | Line 24: | ||
width:170px; | width:170px; | ||
height: 260px; | height: 260px; | ||
- | background-image: url(https://static.igem.org/mediawiki/2012hs/8/86/Eppi-1-box.png); | + | /*background-image: url(https://static.igem.org/mediawiki/2012hs/8/86/Eppi-1-box.png);*/ |
} | } | ||
- | #box-1:hover { | + | /*#box-1:hover { |
background-image: url(https://static.igem.org/mediawiki/2012hs/0/00/Eppi-1-box-glow.png); | background-image: url(https://static.igem.org/mediawiki/2012hs/0/00/Eppi-1-box-glow.png); | ||
- | } | + | }*/ |
#box-2 {position: absolute; | #box-2 {position: absolute; | ||
Line 143: | Line 142: | ||
</style> | </style> | ||
+ | <script type="text/javascript"> | ||
+ | |||
+ | var IdeaArray = new Array(); | ||
+ | var ScienceArray = new Array(); | ||
+ | var StoreArray = new Array(); | ||
+ | |||
+ | for (var i = 0; i <= 2; i++) { | ||
+ | IdeaArray[i] = new Image(); | ||
+ | ScienceArray[i] = new Image(); | ||
+ | StoreArray[i] = new Image(); | ||
+ | } | ||
+ | |||
+ | IdeaArray[1].src="https://static.igem.org/mediawiki/2012hs/8/86/Eppi-1-box.png"; | ||
+ | IdeaArray[2].src="https://static.igem.org/mediawiki/2012hs/0/00/Eppi-1-box-glow.png"; | ||
+ | |||
+ | |||
+ | ScienceArray[1].src="https://static.igem.org/mediawiki/2012hs/7/70/Eppi-2-box.png"; | ||
+ | ScienceArray[2].src="https://static.igem.org/mediawiki/2012hs/f/f2/Eppi-2-box-glow.png"; | ||
+ | |||
+ | StoreArray[1].src="https://static.igem.org/mediawiki/2012hs/6/68/Eppi-3-box.png"; | ||
+ | StoreArray[2].src="https://static.igem.org/mediawiki/2012hs/e/e1/Eppi-3-box-glow.png"; | ||
+ | |||
+ | |||
+ | function swap(num,effect) { | ||
+ | |||
+ | switch (num) { | ||
+ | |||
+ | case 1: document.getElementById("pic"+num).src =IdeaArray[effect].src; | ||
+ | break; | ||
+ | case 2: document.getElementById("pic"+num).src =ScienceArray[effect].src; | ||
+ | break; | ||
+ | case 3: document.getElementById("pic"+num).src =StoreArray[effect].src; | ||
+ | break; | ||
+ | |||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | function mouseOver(num) { | ||
+ | swap(num,2); | ||
+ | } | ||
+ | |||
+ | function mouseOut(num) | ||
+ | { | ||
+ | swap(num,1); | ||
+ | } | ||
+ | |||
+ | </script> | ||
Line 178: | Line 225: | ||
</div><!--end boxStore--> | </div><!--end boxStore--> | ||
- | <a id="box-1" href="https://2012hs.igem.org/Team:Heidelberg_LSL/Project#abstract"></a> | + | <a id="box-1" href="https://2012hs.igem.org/Team:Heidelberg_LSL/Project#abstract"> |
+ | <img id="pic1" src="https://static.igem.org/mediawiki/2012hs/8/86/Eppi-1-box.png"/></a> | ||
<a id="box-2" href="https://2012hs.igem.org/Team:Heidelberg_LSL/Measurement"></a> | <a id="box-2" href="https://2012hs.igem.org/Team:Heidelberg_LSL/Measurement"></a> |
Revision as of 22:43, 16 June 2012