|
|
Line 168: |
Line 168: |
| <br> | | <br> |
| == '''What we have done''' == | | == '''What we have done''' == |
- | <html>
| |
- | <head>
| |
- | <script type="text/javascript">
| |
- | <!-- Original: Mike McGrath (mike_mcgrath@lineone.net) -->
| |
- | <!-- Web Site: http://website.lineone.net/~mike_mcgrath -->
| |
- | <!--
| |
- | var img=new Array();
| |
- | img[0]=new Image(); img[0].src="https://static.igem.org/mediawiki/2010/6/63/Chiba_28.jpg";
| |
- | img[1]=new Image(); img[1].src="https://static.igem.org/mediawiki/2010/8/8c/Chiba_21.jpg";
| |
- | img[2]=new Image(); img[2].src="https://static.igem.org/mediawiki/2010/3/34/Chiba_22.jpg";
| |
- | img[3]=new Image(); img[3].src="https://static.igem.org/mediawiki/2010/9/9b/Chiba_24.jpg";
| |
- | img[4]=new Image(); img[4].src="https://static.igem.org/mediawiki/2010/6/61/Chiba_26.jpg";
| |
- | img[5]=new Image(); img[5].src="https://static.igem.org/mediawiki/2010/b/be/Chiba_25.jpg";
| |
- | img[6]=new Image(); img[6].src="https://static.igem.org/mediawiki/2010/5/5d/Chiba_27.jpg";
| |
- | img[7]=new Image(); img[7].src="https://static.igem.org/mediawiki/2010/a/ab/Chiba_23.jpg";
| |
- | var interval=1500;
| |
- | var n=0;
| |
- | var imgs = new Array("https://static.igem.org/mediawiki/2010/6/63/Chiba_28.jpg","https://static.igem.org/mediawiki/2010/8/8c/Chiba_21.jpg","https://static.igem.org/mediawiki/2010/3/34/Chiba_22.jpg","https://static.igem.org/mediawiki/2010/9/9b/Chiba_24.jpg","https://static.igem.org/mediawiki/2010/6/61/Chiba_26.jpg","https://static.igem.org/mediawiki/2010/b/be/Chiba_25.jpg","https://static.igem.org/mediawiki/2010/5/5d/Chiba_27.jpg","https://static.igem.org/mediawiki/2010/a/ab/Chiba_23.jpg");
| |
- | function rotate()
| |
- | {
| |
- | if(navigator.appName=="Netscape" && document.getElementById)
| |
- | {
| |
- | document.getElementById("slide").src=imgs[n];
| |
- | }
| |
- | else document.images.slide.src=imgs[n];
| |
- | (n==(imgs.length-1))?n=0:n++;
| |
- | setTimeout("rotate()",interval);
| |
- | }
| |
- | // -->
| |
- | </script>
| |
- | </head>
| |
- | <body onload="rotate()">
| |
- | <img src="https://static.igem.org/mediawiki/2010/6/63/Chiba_28.jpg">
| |
- | </body>
| |
- | </html>
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
- |
| |
| <HTML> | | <HTML> |
- | <HEAD>
| + | <BODY> |
- | <SCRIPT TYPE="TEXT/JAVASCRIPT"> | + | |
- | //<![CDATA[
| + | |
- | var which = 0;
| + | |
- | function backward(){
| + | |
- | var obj = document.getElementsByName("gallery")[0];
| + | |
- | if(which == 0){
| + | |
- | alert("더이상 뒤로 갈 수 없습니다");
| + | |
- | return;
| + | |
- | }
| + | |
- | obj.src = (--which)+".gif";
| + | |
- | }
| + | |
- | function forward(){
| + | |
- | var obj = document.getElementsByName("gallery")[0];
| + | |
- | if(which == 10){
| + | |
- | alert("더이상 앞으로 갈 수 없습니다");
| + | |
- | return;
| + | |
- | }
| + | |
- | obj.src = (++which)+".gif";
| + | |
- | }
| + | |
- | //]]>
| + | |
- | </SCRIPT>
| + | |
- | </HEAD>
| + | |
- | <BODY>
| + | |
| <CENTER> | | <CENTER> |
| <table border="0" cellpadding="3" bgcolor=#000000 width=300> | | <table border="0" cellpadding="3" bgcolor=#000000 width=300> |
Line 259: |
Line 184: |
| <img src="https://static.igem.org/mediawiki/2010/2/25/Chiba_20.jpg"> | | <img src="https://static.igem.org/mediawiki/2010/2/25/Chiba_20.jpg"> |
| <img src="https://static.igem.org/mediawiki/2010/a/ab/Chiba_23.jpg"> | | <img src="https://static.igem.org/mediawiki/2010/a/ab/Chiba_23.jpg"> |
- | </td>
| |
- | </tr>
| |
- | <tr>
| |
- | <td align="center">
| |
- | <form name="menu">
| |
- | <input type="button" value="<<Backward" onClick="backward()">
| |
- | <input type="button" value="To start" onClick="which=1;backward()">
| |
- | <input type="button" value="Forward>>" onClick="forward()">
| |
- | </form>
| |
| </td> | | </td> |
| </tr> | | </tr> |