World Championship Jamboree
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<body link="white"> | <body link="white"> | ||
+ | |||
+ | <script language="JavaScript1.2"> | ||
+ | |||
+ | var howOften = 5; //number often in seconds to rotate | ||
+ | var current = 0; //start the counter at 0 | ||
+ | var ns6 = document.getElementById&&!document.all; //detect netscape 6 | ||
+ | |||
+ | // place your images, text, etc in the array elements here | ||
+ | var items = new Array(); | ||
+ | items[0]="<a href='link.htm' ><img alt='image0 (9K)' src=' https://static.igem.org/mediawiki/2013/3/35/Asia.jpg' height='300' width='300' border='0' /></a>"; | ||
+ | items[1]="<a href='link.htm'><img alt='image1 (9K)' src='https://static.igem.org/mediawiki/2013/3/35/Asia.jpg' height='300' width='300' border='0' /></a>"; //a linked image | ||
+ | items[2]="<a href='link.htm'><img alt='image2 (9K)' src='https://static.igem.org/mediawiki/2013/9/91/IGEMfromabove_LA.jpg' height='300' width='300' border='0' | ||
+ | |||
+ | function rotater() { | ||
+ | document.getElementById("placeholder").innerHTML = items[current]; | ||
+ | current = (current==items.length-1) ? 0 : current + 1; | ||
+ | setTimeout("rotater()",howOften*1000); | ||
+ | } | ||
+ | |||
+ | function rotater() { | ||
+ | if(document.layers) { | ||
+ | document.placeholderlayer.document.write(items[current]); | ||
+ | document.placeholderlayer.document.close(); | ||
+ | } | ||
+ | if(ns6)document.getElementById("placeholderdiv").innerHTML=items[current] | ||
+ | if(document.all) | ||
+ | placeholderdiv.innerHTML=items[current]; | ||
+ | |||
+ | current = (current==items.length-1) ? 0 : current + 1; //increment or reset | ||
+ | setTimeout("rotater()",howOften*1000); | ||
+ | } | ||
+ | window.onload=rotater; | ||
+ | //--> | ||
+ | </script> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Line 9: | Line 48: | ||
</td> | </td> | ||
- | <td> | + | <td onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#414141'" bgColor=#414141> |
+ | <a href="http://www.mysite.com">Schedule</a> | ||
+ | </td> | ||
+ | |||
+ | <td onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#414141'" bgColor=#414141> | ||
+ | <a href="http://www.mysite.com">Campus Map</a> | ||
+ | </td> | ||
+ | |||
+ | <td onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#414141'" bgColor=#414141> | ||
+ | <a href="http://www.mysite.com">Jamboree Program</a> | ||
+ | </td> | ||
+ | |||
+ | <td onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#414141'" bgColor=#414141> | ||
+ | <a href="http://www.mysite.com">Workshops</a> | ||
+ | </td> | ||
+ | |||
+ | <td onMouseOver="this.bgColor='#ffffff'" onMouseOut="this.bgColor='#414141'" bgColor=#414141> | ||
+ | <a href="http://www.mysite.com">Press KIts</a> | ||
+ | </td> | ||
+ | |||
</tr> | </tr> | ||
</table> | </table> | ||
+ | <layer id="placeholderlayer"></layer><div id="placeholderdiv"></div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:21, 9 October 2013
Jamboree Handbook | Schedule | Campus Map | Jamboree Program | Workshops | Press KIts |