A declarative approach for HTML Timing using SMIL Timesheets
A simple use case is to define an HTML rotating banner. Here’s an example, blatantly stolen from PortableLinuxApps.org but described with pure SMIL attributes:
CSS transition: | | | | |
<!DOCTYPE html> <html> <head> […] <script type="text/javascript" src="timesheets.js"></script> </head> <body> […] <div id="banner" timeContainer="seq" repeatCount="indefinite"> <img dur="3s" src="images/dosbox.png" alt="[…]"> <img dur="3s" src="images/gnote.png" alt="[…]"> <img dur="3s" src="images/gpodder.png" alt="[…]"> <img dur="3s" src="images/transmission.png" alt="[…]"> </div> […] </body> </html>
Very simple but non-standard.
That’s the kind of markup we’d like to see in the HTML5 spec some day. :-)