Skip to content Skip to sidebar Skip to footer

Google Io Slides Template - Javascript On Each Slide

this my first question! I am playing around with the Google slide template that was used for the Google IO presentations this year (2011). http://code.google.com/p/io-2011-slides/

Solution 1:

In the slide definition, you can include code.

<articleonslideenter="console.log('This is the second slide.');">
...

Solution 2:

Looking at the slides code, I noticed that it emits events slideenter and slideleave. So Bemmu's solution should work. You might also be able to do article.addEventListener('slideenter', function(){...}, false) or (.attachEvent for IE)

Post a Comment for "Google Io Slides Template - Javascript On Each Slide"