XHTML+SMIL will let you write SMIL code in a valid XHTML document. Add
timing, animation,transition and other SMIL elements to your web pages. Just be
aware that as of today Internet Explorer>5.5 is the only browser of choice.
A simple way of explaining the XHTML+SMIL profile is by saying which
SMIL modules doesn't contain
Layout Module: The SMIL 2.0 layout module is not included. The
XHTML/CSS layout model provides layout functionality.
Linking Module: The SMIL 2.0 linking module is not included, as
XHTML provides linking functionality.
Structure Module: The SMIL 2.0 structure module is not included,
as the XHTML document is defined to be the host language, and so
provides the equivalent elements and semantics.
Metainformation Module: The SMIL 2.0 Metainformation module is
not included, as XHTML provides metadata functionality.
The SMIL modules that are left then are:
Content Control Module
Media Object Module
Timing and Synchronization Module
Time Manipulations Module
Transition Effects Module
This modules should be enough to play with, since the "missing"
modules functionality are fully supported in XHTML/CSS.
Namespace elements are included with a
SMIL namespace declaration:
HTML+TIME is based on the (X)HTML+SMIL profile. It is Microsoft's
implementation in Internet Explorer and uses the time2 element behavior. A
different namespace is used but it has much of the funcionality described for
XHTML+SMIL. Associating elements with the time2 behavior using a CSS class
attribute gives us this minimal file:
Below is the source for the Mr. Zebra presentation which was introduced in
the Introduction section section. The big difference is screen lay-out since the SMIL
lay-out module isn't included. Instead I used CSS inline style to describe
screen lay-out. I also chose to include the text-elements using <p> instead of
including them as text-files.