Difference between revisions of "Team:UCL/Bactoman"
Line 5: | Line 5: | ||
<script type="text/JavaScript"> | <script type="text/JavaScript"> | ||
− | |||
− | |||
− | |||
var image = new Array("https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png", "https://static.igem.org/mediawiki/2015/9/92/UCLbactoman2.png", | var image = new Array("https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png", "https://static.igem.org/mediawiki/2015/9/92/UCLbactoman2.png", | ||
"https://static.igem.org/mediawiki/2015/a/af/Uclbactoman3.png", "https://static.igem.org/mediawiki/2015/f/fb/Uclbactoman4.png") | "https://static.igem.org/mediawiki/2015/a/af/Uclbactoman3.png", "https://static.igem.org/mediawiki/2015/f/fb/Uclbactoman4.png") | ||
− | |||
var imgNumber=1 | var imgNumber=1 | ||
− | |||
− | |||
− | |||
− | |||
var numberOfImg = image.length | var numberOfImg = image.length | ||
− | |||
− | |||
− | |||
− | |||
function previousImage(){ | function previousImage(){ | ||
Line 28: | Line 16: | ||
imgNumber-- | imgNumber-- | ||
} | } | ||
− | |||
− | |||
− | |||
else{ | else{ | ||
imgNumber = numberOfImg | imgNumber = numberOfImg | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
document.slideImage.src = image[imgNumber-1] | document.slideImage.src = image[imgNumber-1] | ||
− | + | } | |
− | + | ||
− | |||
− | |||
function nextImage(){ | function nextImage(){ | ||
if(imgNumber < numberOfImg){ | if(imgNumber < numberOfImg){ | ||
Line 49: | Line 28: | ||
} | } | ||
− | |||
− | |||
else{ | else{ | ||
imgNumber = 1 | imgNumber = 1 | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
document.slideImage.src = image[imgNumber-1] | document.slideImage.src = image[imgNumber-1] | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
if(document.images){ | if(document.images){ | ||
− | |||
− | |||
− | |||
− | |||
var image1 = new Image() | var image1 = new Image() | ||
− | |||
− | |||
− | |||
− | |||
image1.src = "https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png" | image1.src = "https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
var image2 = new Image() | var image2 = new Image() | ||
image2.src = "/learn/javascript/Apple.jpg" | image2.src = "/learn/javascript/Apple.jpg" | ||
Line 488: | Line 439: | ||
− | + | <img name="https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png" name="slideImage"></td> | |
− | + | <a href="JavaScript:previousImage()">Previous</a></td><td><a href="JavaScript:nextImage()">Next</a></td> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
Revision as of 20:38, 31 October 2015
'
Bactoman is a comic aimed to introduce our project to a younger audience. Set in a dystopian future where the mentally ill are excommunicated and abandoned by the society, Nathan Navaro takes the mantle of Bactoman to challenge the broken society. Bactoman utilises synthetic biology to help people with mental disorders!
Previous