How to add references in SMIL?

How to add references in SMIL?

- A time namespace should be defined to use SMIL in HTML.

- The process is:
1. Add <?import> element in <HTML> tag definition to add time name space.

2. Define a ‘time’ class to add SMIL attributes to standard HTML elements.

3. This is done by <html xmlns:time="urn:schemas-microsoft-com:time">

4. To define the class "time" add a <style> element.

5. This is done by
<?import namespace="time" implementation="#default#time2">
<style>.time {behavior: url(#default#time2)}</style>
Post your comment