Difference between revisions of "Team:UCL/Bactoman"
(29 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
<head> | <head> | ||
− | < | + | <script type="text/JavaScript"> |
− | var | + | 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/e/ee/Uclabctoman5.png", "https://static.igem.org/mediawiki/2015/2/25/Uclbactoman6.png", "https://static.igem.org/mediawiki/2015/5/5b/Uclbactoman7.png", "https://static.igem.org/mediawiki/2015/0/03/Uclbactoman8.png", "https://static.igem.org/mediawiki/2015/a/aa/Uclbactoman9.png", "https://static.igem.org/mediawiki/2015/0/02/Uclbactoman10.png", "https://static.igem.org/mediawiki/2015/2/23/Uclbactoman11.png", "https://static.igem.org/mediawiki/2015/8/8e/Uclbactoman12.png", "https://static.igem.org/mediawiki/2015/d/dc/Uclbactoman13.png", "https://static.igem.org/mediawiki/2015/8/8c/Uclbactoman14.png", "https://static.igem.org/mediawiki/2015/9/9a/Uclbactoman15.png", "https://static.igem.org/mediawiki/2015/f/f7/Uclbactoman16.png", "https://static.igem.org/mediawiki/2015/f/fc/Uclbactoman17.png", "https://static.igem.org/mediawiki/2015/9/9c/Uclbactoman18.png", "https://static.igem.org/mediawiki/2015/4/4a/Uclbactoman19.png", "https://static.igem.org/mediawiki/2015/8/83/Uclbactoman20.png", "https://static.igem.org/mediawiki/2015/1/1a/Uclbactoman21.png", "https://static.igem.org/mediawiki/2015/d/df/Uclbactoman22.png", "https://static.igem.org/mediawiki/2015/c/cb/Uclbactomanlast.png") | |
− | + | var imgNumber=1 | |
+ | var numberOfImg = image.length | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | function previousImage(){ | |
− | + | if(imgNumber > 1){ | |
− | + | imgNumber-- | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | if( | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | else{ | |
+ | imgNumber = numberOfImg | ||
} | } | ||
+ | |||
+ | document.slideImage.src = image[imgNumber-1] | ||
+ | } | ||
+ | |||
+ | function nextImage(){ | ||
+ | if(imgNumber < numberOfImg){ | ||
+ | imgNumber++ | ||
+ | } | ||
+ | |||
+ | else{ | ||
+ | imgNumber = 1 | ||
+ | } | ||
+ | document.slideImage.src = image[imgNumber-1] | ||
+ | } | ||
+ | |||
+ | if(document.images){ | ||
+ | var image1 = new Image() | ||
+ | image1.src = "https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png" | ||
+ | var image2 = new Image() | ||
+ | image2.src = "https://static.igem.org/mediawiki/2015/9/92/UCLbactoman2.png" | ||
+ | var image3 = new Image() | ||
+ | image3.src = "https://static.igem.org/mediawiki/2015/a/af/Uclbactoman3.png" | ||
+ | var image4 = new Image() | ||
+ | image4.src = "https://static.igem.org/mediawiki/2015/f/fb/Uclbactoman4.png" | ||
+ | var image5 = new Image() | ||
+ | image5.src = "https://static.igem.org/mediawiki/2015/e/ee/Uclabctoman5.png" | ||
+ | var image6 = new Image() | ||
+ | image6.src = "https://static.igem.org/mediawiki/2015/2/25/Uclbactoman6.png" | ||
+ | var image7 = new Image() | ||
+ | image7.src = "https://static.igem.org/mediawiki/2015/5/5b/Uclbactoman7.png" | ||
+ | var image8 = new Image() | ||
+ | image8.src = "https://static.igem.org/mediawiki/2015/0/03/Uclbactoman8.png" | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
</script> | </script> | ||
Line 134: | Line 149: | ||
{ | { | ||
content: ""; | content: ""; | ||
− | + | background: #000; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-attachment: fixed !important; | background-attachment: fixed !important; | ||
Line 149: | Line 159: | ||
-moz-box-sizing: border-box; | -moz-box-sizing: border-box; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
− | |||
position: absolute; | position: absolute; | ||
top: 0px; | top: 0px; | ||
Line 163: | Line 172: | ||
#mobilebackground { | #mobilebackground { | ||
− | + | background: #000; | |
− | + | ||
− | + | ||
top: 0; | top: 0; | ||
right: 0; | right: 0; | ||
Line 179: | Line 186: | ||
-moz-box-sizing: border-box; | -moz-box-sizing: border-box; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
− | display: | + | display: block; |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
Line 274: | Line 281: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 411: | Line 410: | ||
padding: 50px; | padding: 50px; | ||
margin-top: 50px; | margin-top: 50px; | ||
− | font-size: | + | font-size: 14px; |
letter-spacing: 2px; | letter-spacing: 2px; | ||
+ | border-radius: 10px; | ||
} | } | ||
− | + | #wrapperbacto img {width: 95%;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | } | + | |
− | + | ||
− | + | ||
</style> | </style> | ||
Line 486: | Line 428: | ||
+ | <center> | ||
+ | <span class="title2">Bactoman</span></center><br/> | ||
+ | <p> | ||
+ | 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!<br/><br/><br/> | ||
+ | </p> | ||
+ | <p></p> | ||
+ | <p style="text-align: center; font-weight: bold;"><a href="JavaScript:previousImage()">Previous</a> <a href="JavaScript:nextImage()">Next</a></p> | ||
+ | </p> | ||
<p> | <p> | ||
− | + | <img src="https://static.igem.org/mediawiki/2015/8/8d/UCLbactoman1.png" name="slideImage"></p> | |
− | </p> | + | |
+ | <p style="text-align: center; font-weight: bold;"><a href="JavaScript:previousImage()">Previous</a> <a href="JavaScript:nextImage()">Next</a></p> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | |||
+ | <br/> | ||
− | |||
</div> | </div> | ||
− | + | <br/><br/> | |
− | + | ||
− | + | ||
</div> | </div> | ||
Line 529: | Line 456: | ||
</div> | </div> | ||
− | |||
− | |||
</div> </div> | </div> </div> |
Latest revision as of 21:13, 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!