Team:Hong Kong HKUST
From 2014.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> | <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.1.min.js"></script> | ||
<script src="https://2014.igem.org/wiki/index.php?title=Template:Team:Hong_Kong_HKUST/access-menu.js&action=raw&ctype=text/css"></script> | <script src="https://2014.igem.org/wiki/index.php?title=Template:Team:Hong_Kong_HKUST/access-menu.js&action=raw&ctype=text/css"></script> | ||
+ | <script> | ||
+ | var on = true; | ||
+ | var myVar = setInterval(function(){ if(on) {slides()}on=true;},3000); | ||
+ | |||
+ | function slides(i) { | ||
+ | document.getElementsByClassName("slide_pic")[1].style.width="0px"; | ||
+ | document.getElementsByClassName("slide_pic")[2].style.width="100%"; | ||
+ | var slide = document.getElementsByClassName("slide_pic")[0]; | ||
+ | document.getElementById("slide").appendChild(slide); | ||
+ | if(i) { | ||
+ | on = false; | ||
+ | } | ||
+ | } | ||
+ | function back_slide(i) { | ||
+ | document.getElementsByClassName("slide_pic")[1].style.width="0px"; | ||
+ | document.getElementsByClassName("slide_pic")[0].style.width="100%"; | ||
+ | var slide = document.getElementsByClassName("slide_pic")[4]; | ||
+ | var slide2 = document.getElementsByClassName("slide_pic")[0]; | ||
+ | document.getElementById("slide").insertBefore(slide,slide2); | ||
+ | if(i) { | ||
+ | on = false; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
<style type="text/css"> | <style type="text/css"> |
Revision as of 14:16, 4 October 2014
Home |
Pneumosensor |
Riboregulator |
Human Practice |
Team |
WetLab |
Achievement |