Difference between revisions of "Team:ETH Zurich/Team"
Line 80: | Line 80: | ||
var divs = ['lisabio','mikebio','annabio','harunbio','anjabio','charlottebio']; | var divs = ['lisabio','mikebio','annabio','harunbio','anjabio','charlottebio']; | ||
var deg = 5; | var deg = 5; | ||
− | + | var cur = 0; | |
var rotateIt = function(dir) { | var rotateIt = function(dir) { | ||
alert(dir); | alert(dir); | ||
Line 86: | Line 86: | ||
//deg = (deg + dir*60) % 360; | //deg = (deg + dir*60) % 360; | ||
deg = deg + dir*60; | deg = deg + dir*60; | ||
− | + | cur = cur + dir; | |
− | + | if (cur==-1) cur=5; | |
− | if ( | + | if (cur==6) cur=0; |
− | if ( | + | document.getElementById('bioBox').innerHTML = document.getElementById(divs[cur]).innerHTML; |
− | document.getElementById('bioBox').innerHTML = document.getElementById(divs[ | + | |
} | } | ||
</script> | </script> |
Revision as of 20:46, 26 August 2015
- Project
- Modeling
- Lab
- Human
Practices - Parts
- About Us
Team
Members
Click to spin the image clockwise or counter-clockwise
Anja
melodious pipetting expert
Anna
lab photojournalist and cell destroyer
Charlotte
number cruncher
Harun
chief nerd
Lisa
self-appointed benevolent leader-for-life
Mike
busy beaver