Team:Gaston Day School/Notebook
From 2011.igem.org
(Difference between revisions)
Line 303: | Line 303: | ||
|} | |} | ||
</center> | </center> | ||
+ | |||
+ | |||
+ | <html> | ||
+ | <script type="text/javascript"> | ||
+ | // Author: ricocheting.com | ||
+ | // Description: slideshow that allows visitors to flip through a series of images on your website | ||
+ | |||
+ | var x=0; | ||
+ | |||
+ | function rotate(num){ | ||
+ | fs=document.ff.slide; | ||
+ | x=num%fs.length; | ||
+ | if(x<0) x=fs.length-1; | ||
+ | document.images.show.src=fs.options[x].value; | ||
+ | fs.selectedIndex=x;} | ||
+ | |||
+ | function auto() { | ||
+ | if(document.ff.fa.value == "Stop"){ | ||
+ | rotate(++x);setTimeout("auto()", 3000);}} | ||
+ | </script> | ||
+ | |||
+ | <form name="ff"> | ||
+ | <table cellpadding="3" style="border:1px black solid;border-collapse:collapse;"> | ||
+ | <tr><th align="center">iGEM 2011 Gaston Day School</th></tr> | ||
+ | |||
+ | <tr><td align="center"> | ||
+ | <img src="https://static.igem.org/mediawiki/2011/9/91/GordonlogofGDS.jpg" name="show"> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td align="center" style="border:1px black solid;"> | ||
+ | <select name="slide" onChange="rotate(this.selectedIndex);"> | ||
+ | <option value="https://static.igem.org/mediawiki/2011/9/91/GordonlogofGDS.jpg"></option> | ||
+ | <option value="https://static.igem.org/mediawiki/2011/3/3d/Nrfptest3GDS.jpg"></option> | ||
+ | <option value="https://static.igem.org/mediawiki/2011/7/71/PartslideGDS.jpg"></option> | ||
+ | </select> | ||
+ | </td></tr> | ||
+ | |||
+ | <tr><td align="center" style="border:1px black solid;"> | ||
+ | <input type="button" onclick="rotate(0);" value="ll<<" title="Jump to beginning" /> | ||
+ | <input type="button" onclick="rotate(x-1);" value="<<" title="Last Picture" /> | ||
+ | <input type="button" name="fa" onClick="this.value=((this.value=='Stop')?'Start':'Stop');auto();" value="Start" title="Autoplay" style="width:75px;" /> | ||
+ | <input type="button" onclick="rotate(x+1);" value=">>" title="Next Picture" /> | ||
+ | <input type="button" onclick="rotate(this.form.slide.length-1);" value=">>ll" title="Jump to end" /> | ||
+ | </td></tr></table></form> | ||
+ | </html> | ||
Revision as of 20:44, 27 September 2011
Home | Team | Official Team Profile | Project | Parts Submitted to the Registry | Notebook | Safety | Attributions |
---|
Sun. | Mon. | Tue. | Wed. | Thr. | Fri. | Sat. |
27 | 28 | 29 | 30 | 31 |
Sun. | Mon. | Tue. | Wed | Thr. | Fri | Sat. |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Sun. | Mon. | Tue | Wed. | Thr. | Fri. | Sat. |
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 |
Sun. | Mon. | Tue. | Wed. | Thr. | Fri. | Sat. |
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Sun. | Mon. | Tue. | Wed. | Thr. | Fri. | Sat. |
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Sun. | Mon. | Tue. | Wed. | Thr. | Fri. | Sat. |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 |