spacer
Yehuda Shiran September 30, 2000
time vs time2
Tips: September 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

The time behavior was introduced in Internet Explorer 5.0, while time2 was first released in Internet Explorer 5.5. One of the differences is that you can use the TIMELINE attribute (instead of the TIMECONTAINER attribute) with the time behavior, as opposed to the time2 behavior. Also, when using the time behavior, you have to prefix HTML+TIME attributes with "t:". In the following example we don't use TIMEACTION="display", and as a result, there is no reflowing of the page, and each slide appears in its original position, covering all four quadrants. Try it now. Here is the full listing:

<HTML>
<HEAD>
<STYLE>
  .mytime {behavior: url(#default#time);}
</STYLE>
</HEAD>
<DIV CLASS="mytime" t:TIMELINE="seq"> 
    <IMG SRC="slide1.gif" CLASS="mytime" t:DUR="2">
    <IMG SRC="slide4.gif" CLASS="mytime" t:DUR="2"><BR>
    <IMG SRC="slide5.gif" CLASS="mytime" t:DUR="2">
    <IMG SRC="slide6.gif" CLASS="mytime" t:DUR="2">
</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, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint