Difference between revisions of "Team:ETH Zurich/homeSlideshow"
Line 55: | Line 55: | ||
curMainState += dir; | curMainState += dir; | ||
document.getElementById('homeMainCaption').innerHTML = homeMainCaptions[curMainState]; | document.getElementById('homeMainCaption').innerHTML = homeMainCaptions[curMainState]; | ||
− | document.getElementById(' | + | document.getElementById('homepageImage').src = homeMainImages[curMainState]; |
setTimeout(function(){document.getElementById('homeMainContainer').className = "content";},700); | setTimeout(function(){document.getElementById('homeMainContainer').className = "content";},700); | ||
} | } |
Revision as of 13:39, 17 September 2015