Team:ETH Zurich/Templates

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
 +
<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='https://2013.igem.org' ><img alt='image0 (9K)' src='80px-Eth_igem_logo.png' height='80' width='80' border='0' /></a>"; //a linked image
 +
 +
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>
 +
<style type="text/css">
<style type="text/css">
/* Author: Pieter van Boheemen */
/* Author: Pieter van Boheemen */

Revision as of 09:00, 11 July 2013

EcoliMinesweeperNEW Kopie.png
80px-Eth igem logo.png
  • Home
  • Team
  • Project
  • Parts
  • Modeling
  • Notebook
  • Safety
  • Attributions
  • Templates
    • Layout
  • [http://2013.igem.org/wiki/index.php?title=Special:UserLogin&returnto=Team:ETH_Zurich/Templates Login]
  • [http://2013.igem.org/Team:ETH_Zurich/Templates WIKI]
    • [http://2013.igem.org/Team:ETH_Zurich/Templates View page]
    • [http://2013.igem.org/wiki/index.php?title=Team:ETH_Zurich/Templates&action=edit Edit page]
    • [http://2013.igem.org/wiki/index.php?title=Team:ETH_Zurich/Templates&action=history History of this page]
    • [http://2013.igem.org/Special:Upload Upload new file]