Team:Tec-Monterrey
From 2012.igem.org
(Difference between revisions)
(10 intermediate revisions not shown) | |||
Line 265: | Line 265: | ||
else { $('#rightControl').show(); } | 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> | </script> | ||
Line 302: | Line 346: | ||
<table> | <table> | ||
<tr> | <tr> | ||
- | <td align="right"><button type="button" id="sp1" onclick="document.location.href='https://2012.igem.org/Main_Page'"> </button></td> | + | <td align="right"> |
+ | <img src="https://static.igem.org/mediawiki/2012/d/d6/TECMTY_BANNER_SMALL.JPG" /> | ||
+ | <button type="button" id="sp1" onclick="document.location.href='https://2012.igem.org/Main_Page'"> </button> | ||
+ | </td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 324: | Line 371: | ||
<div id="slidesContainer"> | <div id="slidesContainer"> | ||
<div class="slide"> | <div class="slide"> | ||
- | <img src="https://static.igem.org/mediawiki/igem.org/ | + | <a href=""><img src="https://static.igem.org/mediawiki/igem.org/4/47/TECMTY_Logotecmty.gif" alt="" /></a> |
</div> | </div> | ||
<div class="slide"> | <div class="slide"> | ||
- | <img src="https://static.igem.org/mediawiki/igem.org/ | + | <a href="https://dl.dropbox.com/u/23640080/ProjectDocumentationTecMty.pdf"><img src="https://static.igem.org/mediawiki/igem.org/2/24/TECMTY_Galeria_main.png" alt="Slide2" /></a> |
</div> | </div> | ||
<div class="slide"> | <div class="slide"> | ||
- | <img src="https://static.igem.org/mediawiki/igem.org/ | + | <a href="https://2012.igem.org/Team:Tec-Monterrey/hpractice"><img src="https://static.igem.org/mediawiki/igem.org/5/51/TECMTY_Galeria_juegos.jpg" alt="Slide3" /></a> |
</div> | </div> | ||
<div class="slide"> | <div class="slide"> | ||
- | <img src=" | + | <a href="https://2012.igem.org/Team:Tec-Monterrey/allergen/project"><img src="https://static.igem.org/mediawiki/igem.org/f/f9/TECMTY_Allergen.gif" alt="Slide4" /></a> |
</div> | </div> | ||
<div class="slide"> | <div class="slide"> | ||
- | <img src=" | + | <a href="https://2012.igem.org/Team:Tec-Monterrey/antifreeze/project"><img src="https://static.igem.org/mediawiki/igem.org/5/56/TECMTY_Antifreeze.gif" alt="Slide5" /></a> |
</div> | </div> | ||
</div> | </div> | ||
Line 350: | Line 397: | ||
<tr> | <tr> | ||
<td align="center"> | <td align="center"> | ||
- | + | ||
- | + | ||
</td> | </td> | ||
</tr> | </tr> |
Latest revision as of 22:55, 10 October 2012
|