Template:Sifuentes04
From 2014.igem.org
(Difference between revisions)
Line 327: | Line 327: | ||
} | } | ||
+ | function scrollRt() { | ||
+ | i = i + speed; | ||
+ | var div = document.getElementById("cont1"); | ||
+ | div.scrollLeft = i; | ||
+ | |||
+ | } | ||
+ | |||
+ | function scrollLf() { | ||
+ | i = i - speed; | ||
+ | var div = document.getElementById("cont1"); | ||
+ | |||
+ | } | ||
Line 553: | Line 565: | ||
<div class="gallery" id="gallery"> | <div class="gallery" id="gallery"> | ||
<p><a href="#" onClick="moveLeft()"><img src="https://static.igem.org/mediawiki/2011/c/c8/Botonleft01.png" width="50" height="71"> </a> | <p><a href="#" onClick="moveLeft()"><img src="https://static.igem.org/mediawiki/2011/c/c8/Botonleft01.png" width="50" height="71"> </a> | ||
- | <img src="https://static.igem.org/mediawiki/2011/a/aa/Img023.png" | + | <img src="https://static.igem.org/mediawiki/2011/a/aa/Img023.png" name="galImg" width="400" height="300" id="galImg" > |
<a href="#" onClick="moveRight()"><img src="https://static.igem.org/mediawiki/2011/7/74/Botonright01.png" width="50" height="71"></a> | <a href="#" onClick="moveRight()"><img src="https://static.igem.org/mediawiki/2011/7/74/Botonright01.png" width="50" height="71"></a> | ||
</p> | </p> |
Revision as of 22:35, 12 January 2015