Positioning
February 22, 1999
Text does not always have to be flush up against the left
margin, it can be
placed anywhere in the page. This makes it useful
for labelling and building
interfaces. These tags can only be used on text
that does not crawl or scroll.
Here is an example of three headlines presented
staggered across the page.
<window type="generic" height="50"
width="320" underline_hyperlinks="false"
duration="10" link="#FF8040" wordwrap="false"
bgcolor="black"> <font face="Times"
color="white" size="2"> <time
begin="0"/><pos x="10"
y="5"/><b>NEWS:</b> Headline 1 <time
begin="3"/><pos x="20"
y="20"/><b>NEWS:</b> Headline 2 <time
begin="6"/><pos x="30"
y="35"/><b>NEWS:</b> Headline
3 </font> </window>
Appearance Tags
The appearance tags are very similar to those in
HTML.
They allow you to
create text with attributes such as bold,
strike through
or italics. I'm going to list them in a table
instead of explaining each.
| <p>...</p> |
Causes text to display two lines down |
| <br/> |
Adds space between text. Wraps to next line |
| <ol>...</ol> |
Indented text, but not numbered |
| <ul>...</ul> |
Text is indented but not bulleted |
| <li>...</li> |
Similar to HTML Lists |
| <center>...</center> |
Centers the text. Does not work with scrolling text |
| <b>...</b> |
Bold |
| <i>...</i> |
Italics |
| <s>...</s> |
Strike Trough |
| <u>...</u> |
Underline |
Hyperlinks
Hyperlinks within a
SMIL
presentation can go to one of three places: jump to
a different part of the same presentation, jump to
another presentation or
launch a web page. From practical experience I would
not recommend trying to
jump around in a presentation. When the user jumps around inside a
presentation often the wrong graphics are displayed or
omitted all together.
The Real G2 Player, which is barely out of Beta, has
not worked out these final
bugs.
This link can be used just like an
HTML
link with the appended _player or
_browser info to let the G2 Player know whether to look for another
SMIL
presentation or open a browser.
<a href="URL"
[target="_player| _browser "]>...</a>
Used for embedding e-mail addresses in the SMIL presentation: <a href="mailto:address">...</a>
As mentioned above the seek command is unreliable, it allows you to
jump around in a presentation:
<a href="command:seek(35.4)"
target="_player">
When clicked, the following links cause RealPlayer to
pause/play the stream:
<a href="command:pause()"
target="_player"> <a href="command:play()"
target="_player">
General Info on all Windows
RealText--Text Synchronization with Digital Media
Conclusion
|