Team:Goettingen/suplement/scripts comicShowRoom

From 2013.igem.org

(Difference between revisions)
m (Created page with "<html> <script> lightening = document.createElement('div'); with(lightening.style){ position = 'absolute'; display = 'block'; left = '0px'; top = '0px'; heig...")
m
 
(5 intermediate revisions not shown)
Line 121: Line 121:
comic = [];
comic = [];
comic[0] = '<iframe src="http://www.slideshare.net/slideshow/embed_code/26510968" width="574" height="613" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>';
comic[0] = '<iframe src="http://www.slideshare.net/slideshow/embed_code/26510968" width="574" height="613" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen webkitallowfullscreen mozallowfullscreen> </iframe>';
 +
 +
comic[1] = '<div style="margin-bottom:5px"> <strong> <a href="https://de.slideshare.net/lucil_Zhu/the-revenge-of-green-coli" title="The revenge of green coli" target="_blank">The revenge of green coli</a> </strong></div><iframe src="http://www.slideshare.net/slideshow/embed_code/27658708" width="599" height="487" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe> ';
function showComic(n){
function showComic(n){
Line 128: Line 130:
page = [];
page = [];
page[0] = "<p style='font-size:20pt;color:#7edfa9;font-family:Cambria'>Hi, welcome to the wiki page of Team Goettingen! </p>Allow me first to introduce myself:<br />My name is <strong>Green Coli</strong>, I'm a super hero, who helps to rescue the human kind from those multi-resistant bastards.<br />Before I started my journey to save the world, I'd like to give you guys a short guidance through the wiki. ;) "
page[0] = "<p style='font-size:20pt;color:#7edfa9;font-family:Cambria'>Hi, welcome to the wiki page of Team Goettingen! </p>Allow me first to introduce myself:<br />My name is <strong>Green Coli</strong>, I'm a super hero, who helps to rescue the human kind from those multi-resistant bastards.<br />Before I started my journey to save the world, I'd like to give you guys a short guidance through the wiki. ;) "
-
page[1] = '<p style="font-size:20pt;color:#7edfa9;font-family:Cambria">Hey, you seem to be interested in me! That is cool. Now welcome to our special show room!</p><p style="color:#fff;font-family:Cambria">Before you guys look into my great adventure, let us just start with a short warming-up story about multi-resistant bacteria, the enemy I fight against.Click the picture to view.</p><br /><img src="https://static.igem.org/mediawiki/2013/d/dc/Goe-comic-cover-1.png" width="200" onclick="showComic(0);" />'
+
page[1] = '<p style="font-size:20pt;color:#7edfa9;font-family:Cambria">Hey, you seem to be interested in me! That is cool. Now welcome to our special show room!</p><p style="color:#fff;font-family:Cambria;font-size:14pt">Before you guys look into my great adventure, let us just start with a short warming-up story about multi-resistant bacteria, the enemy I fight against. Just click the picture ;).</p><br /><img src="https://static.igem.org/mediawiki/2013/d/dc/Goe-comic-cover-1.png" height="200" onclick="showComic(0);" />&nbsp;<img src="https://static.igem.org/mediawiki/2013/c/cc/The_revenge_of_Green_coli-cover.png" height="200" onclick="showComic(1);" />'
-
  function startGuide(){
+
  function startComic(){
   document.body.insertBefore(lightening,null);
   document.body.insertBefore(lightening,null);
   document.body.style.overflow = 'hidden';
   document.body.style.overflow = 'hidden';

Latest revision as of 18:37, 28 October 2013