spacer
Yehuda Shiran October 2, 2000
Parallel Sequencing
Tips: October 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

HTML+TIME lets you play elements of a group in parallel, with the TIMELINE="par" attribute. The official Microsoft documentation suggests that the following code will yield a parallel display of the our slides, repeating itself five times:

<HTML>
<HEAD>
<STYLE>
  .mytime {behavior: url(#default#time2);}
</STYLE>
</HEAD>
<DIV CLASS="mytime" REPEAT="5" DUR="10" TIMELINE="par"> 
    <IMG SRC="slide1.gif" CLASS="mytime" BEGIN="0" DUR="4">
    <IMG SRC="slide4.gif" CLASS="mytime" BEGIN="2" DUR="4"><BR>
    <IMG SRC="slide5.gif" CLASS="mytime" BEGIN="4" DUR="4">
    <IMG SRC="slide6.gif" CLASS="mytime" BEGIN="6" DUR="4">
</DIV>
</BODY>
</HTML>

Try it now. The repetition does not work. We deduced that you need to use the time behavior instead of time2 behavior to accomplish repetition of a parallel display of a group's elements. Try it now. Here is the code:

<HTML>
<HEAD>
<STYLE>
  .mytime {behavior: url(#default#time);}
</STYLE>
</HEAD>
<DIV CLASS="mytime" t:REPEAT="5" t:DUR="10" t:TIMELINE="par"> 
    <IMG SRC="slide1.gif" CLASS="mytime" t:BEGIN="0" t:DUR="4">
    <IMG SRC="slide4.gif" CLASS="mytime" t:BEGIN="2" t:DUR="4"><BR>
    <IMG SRC="slide5.gif" CLASS="mytime" t:BEGIN="4" t:DUR="4">
    <IMG SRC="slide6.gif" CLASS="mytime" t:BEGIN="6" t:DUR="4">
</DIV>
</BODY>
</HTML>

Learn more about HTML+TIME in Column 67, Introduction to HTML+TIME.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business