Team:Ciencias-UNAM/Safety

From 2012.igem.org

Revision as of 00:13, 25 September 2012 by Larsmx (Talk | contribs)

<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Tec Igem 2012</title> <style type="text/css"> </style> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#div_content").hide(); $("#div_content").fadeIn(1000); $("#logo").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey" }, 1000); $("#div_content").fadeOut(1000); }); $("#bt1").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey/allergen/project" }, 1000); $("#div_content").fadeOut(1000); }); $("#bt2").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey/antifreeze/project" }, 1000); $("#div_content").fadeOut(1000); }); $("#bt3").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey/hpractice" }, 1000); $("#div_content").fadeOut(1000); }); $("#bt4").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey/extras" }, 1000); $("#div_content").fadeOut(1000); }); $("#bt5").click(function() { window.setTimeout(function() { document.location.href="https://2012.igem.org/Team:Tec-Monterrey/team" }, 1000); $("#div_content").fadeOut(1000); }); //Slides var currentPos = 0; var sWidth = 520; var slides = $('.slide'); var numSlides = slides.length; $('#slidesContainer').css('overflow','hidden'); slides.wrapAll('

');

slides.css({ 'float':'left', 'width':sWidth }); $('#slideInner').css('width',sWidth*numSlides); $('#slideshow').prepend('Move left'); $('#slideshow').append('Move right'); manageControls(currentPos); $('.control').bind('click', function() { currentPos = ($(this).attr('id') == 'rightControl') ? currentPos+1 : currentPos-1; manageControls(currentPos); $('#slideInner').animate({ 'marginLeft' : sWidth*(-currentPos) }); }); function manageControls(position) { if(position == 0) { $('#leftControl').hide(); } else { $('#leftControl').show(); } if(position == numSlides-1) { $('#rightControl').hide(); } else { $('#rightControl').show(); } } //Slide Buttons $("#s1").click(function() { currentPos = 0; manageControls(currentPos); changeSlide(currentPos); }); $("#s2").click(function() { currentPos = 1; manageControls(currentPos); changeSlide(currentPos); }); $("#s3").click(function() { currentPos = 2; manageControls(currentPos); changeSlide(currentPos); }); $("#s4").click(function() { currentPos = 3; manageControls(currentPos); changeSlide(currentPos); }); $("#s5").click(function() { currentPos = 4; manageControls(currentPos); changeSlide(currentPos); }); $("#s6").click(function() { currentPos = 5; manageControls(currentPos); changeSlide(currentPos); }); function changeSlide(position) { $('#slideInner').animate({ 'marginLeft' : sWidth*(-position) }); } window.setInterval(function() { currentPos++; if (currentPos >= numSlides) currentPos = 0; manageControls(currentPos); changeSlide(currentPos); }, 5000);

}); </script> </head>

<body>

<img src="TECMTY_Teamlogo_normal.png" alt="1" /> <img src="TECMTY_Teamlogo_hover.png" alt="2" /> <img src="TECMTY_Igemlogo_normal.png" alt="3" /> <img src="TECMTY_Igemlogo_hover.png" alt="4" /> <img src="TECMTY_Allergen_normal.jpg" alt="5" /> <img src="TECMTY_Allergen_hover.jpg" alt="6" /> <img src="TECMTY_Antifreeze_normal.jpg" alt="7" /> <img src="TECMTY_Antifreeze_hover.jpg" alt="8" /> <img src="TECMTY_Humanpractice_hover.jpg" alt="9" /> <img src="2012.TECMTY_Team_normal.jpg" alt="10" /> <img src="2012.TECMTY_Team_hover.jpg" alt="11" /> <img src="TECMTY_Extras_normal.jpg" alt="12" /> <img src="TECMTY_Extras_hover.jpg" alt="13" /> <img src="TECMTY_Welcome.png" alt="14" /> <img src="TECMTY_Galeria_teamlogo.png" alt="15" /> <img src="TECMTY_Galeria_underconstruction.png" alt="16" /> <img src="TECMTY_Bgaleria_allergen_normal.png" alt="17" /> <img src="TECMTY_Bgaleria_allergen_selec.png" alt="18" /> <img src="TECMTY_Bgaleria_antifreeze_normal.png" alt="19" /> <img src="TECMTY_Bgaleria_antifreeze_selec.png" alt="20" />

<button type="button" id="logo" class="logo"> </button>

<img src="TECMTY_Welcome.png" alt="welcome" longdesc="welcome" />

<img src="TECMTY_Twoprojects.gif" alt="" />

<img src="TECMTY_Logotecmty.gif" alt="Slide2" />

<img src="TECMTY_Galeria_underconstruction.png" alt="Slide3" />

<img src="img/1.jpg" alt="Slide4" />

<img src="img/1.jpg" alt="Slide5" />

<button type="button" id="s1"> </button><button type="button" id="s2"> </button><button type="button" id="s3"> </button><button type="button" id="s4"> </button><button type="button" id="s5"> </button><button type="button" id="s6"> </button>

Read more about them in the tabs above.

</body>