Difference between revisions of "Team:ETH Zurich/homeSlideshow"
Line 16: | Line 16: | ||
"<p>Droplets with green bacteria can be separated from the rest for further analysis.</p>", | "<p>Droplets with green bacteria can be separated from the rest for further analysis.</p>", | ||
"<p>Caption6</p>" | "<p>Caption6</p>" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
]; | ]; | ||
var curMainState = 0; | var curMainState = 0; | ||
Line 56: | Line 48: | ||
curMainState += dir; | curMainState += dir; | ||
document.getElementById('homeMainCaption').innerHTML = homeMainCaptions[curMainState]; | document.getElementById('homeMainCaption').innerHTML = homeMainCaptions[curMainState]; | ||
− | |||
setTimeout(function(){document.getElementById('homeMainContainer').className = "content";},700); | setTimeout(function(){document.getElementById('homeMainContainer').className = "content";},700); | ||
} | } |
Revision as of 09:37, 18 September 2015