Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


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



Up to => Home / Authoring / Languages / XML / SMIL / RealText




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers