Team:Tec-Monterrey
From 2012.igem.org
(Difference between revisions)
(13 intermediate revisions not shown) | |||
Line 133: | Line 133: | ||
.menu #sp1:hover{ background:url(https://static.igem.org/mediawiki/igem.org/8/84/TECMTY_Igemlogo_hover.png) no-repeat;} | .menu #sp1:hover{ background:url(https://static.igem.org/mediawiki/igem.org/8/84/TECMTY_Igemlogo_hover.png) no-repeat;} | ||
- | .menu #bt1{ background:url(https://static.igem.org/mediawiki/2012/ | + | .menu #bt1{ background:url(https://static.igem.org/mediawiki/2012/0/08/TECMTY_Allergen_normal.jpg) no-repeat; border:none; height:65px; width:152px;} |
- | .menu #bt1:hover{ background:url(https://static.igem.org/mediawiki/2012/ | + | .menu #bt1:hover{ background:url(https://static.igem.org/mediawiki/2012/a/a5/TECMTY_Allergen_hover.jpg) no-repeat;} |
- | .menu #bt2{ background:url(https://static.igem.org/mediawiki/igem.org/ | + | .menu #bt2{ background:url(https://static.igem.org/mediawiki/igem.org/f/f8/TECMTY_Antifreeze_normal.jpg) no-repeat; border:none; height:65px; width:152px;} |
- | .menu #bt2:hover{ background:url(https://static.igem.org/mediawiki/igem.org/ | + | .menu #bt2:hover{ background:url(https://static.igem.org/mediawiki/igem.org/1/13/TECMTY_Antifreeze_hover.jpg) no-repeat;} |
.menu #bt3{ background:url(https://static.igem.org/mediawiki/igem.org/a/ae/TECMTY_Humanpractice_normal.jpg) no-repeat; border:none; height:65px; width:152px;} | .menu #bt3{ background:url(https://static.igem.org/mediawiki/igem.org/a/ae/TECMTY_Humanpractice_normal.jpg) no-repeat; border:none; height:65px; width:152px;} | ||
.menu #bt3:hover{ background:url(https://static.igem.org/mediawiki/igem.org/9/92/TECMTY_Humanpractice_hover.jpg) no-repeat;} | .menu #bt3:hover{ background:url(https://static.igem.org/mediawiki/igem.org/9/92/TECMTY_Humanpractice_hover.jpg) no-repeat;} | ||
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=" | + | <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
|