|
September 16, 2000 HTML+TIME's Beginning and Ending Times Tips: September 2000
Yehuda Shiran, Ph.D.
|
|
You must specify when the HTML element should appear and for how long. You accomplish it by the BEGIN and END element attributes. You can specify the duration of the element with respect to its beginning time, instead of the ending time. You accomplish it by the DUR attribute. BEGIN, END, and DUR have intuitive defaults. If you don't set the BEGIN attribute, an element will begin displaying when the page loads. If you don't specify the END or DUR attributes, it will remains displayed indefinitely.
The following example shows a slide presentation in which each slide appears and disappears on a predefined schedule. Try it. We first specify the
The body of the page includes four
We specify HTML+TIME attributes in seconds. The second slide is designated to begin after 2 seconds, the third slide after 4 seconds, and the fourth slide after 6 seconds. All slides are due to disappear after 7 seconds. Here are the last three slides:
We use here the
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: |