Difference between revisions of "Team:ETH Zurich"

Line 228: Line 228:
  
 
function changeState(dir) {
 
function changeState(dir) {
 +
    if (document.getElementById('homeMainContainer').className == "content") {
 +
    document.getElementById('homeMainContainer').className = "content running";
 
     if (dir==1) {
 
     if (dir==1) {
 
         if (curMainState == numMainStates-1) {
 
         if (curMainState == numMainStates-1) {
Line 246: Line 248:
 
     curMainState += dir;
 
     curMainState += dir;
 
     setTimeout(function(){},1000);
 
     setTimeout(function(){},1000);
 +
    document.getElementById('homeMainContainer').className = "content";
 +
    }
 
}
 
}
 
</script>
 
</script>

Revision as of 18:25, 10 September 2015

"What I cannot create I do not understand."
- Richard Feynmann

The microbial beacon        for cancer detection