Prototyping 29 October 2012: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
* ontimeupdate | * ontimeupdate | ||
[[ | [[TATATA]] | ||
time for the teleprompter | time for the teleprompter |
Latest revision as of 14:42, 29 October 2012
Some example of adding time...
Simple setInterval & setTimeout... (see Nan's example)
var animation_id = window.setInterval(draw, 50);
setTimeout(function () {
window.clearInterval(animation_id);
}, 5000);
Adding time to the wikipedia "edit teleprompter" example (continuing from last week)
Using audio/video timelines (see Niek's example) (Here's another)
- ontimeupdate
TATATA time for the teleprompter