BEGIN Attribute | begin Property
This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedback,
please note that these features are subject to change.
Sets or retrieves the delay time before the timeline begins playing on the element.
Syntax
HTML <ELEMENT STYLE="behavior:url(#default#time);" t:BEGIN = sTime... > Scripting object.begin [ = sTime ]
Possible Values
sTime String that specifies the time delay before the element becomes active on the timeline. This is an offset from the time the page is loaded. The time must be specified as described in Time Formats. The property is read/write with a default value of 0. This property cannot be modified in script after the onload event fires on the document body.
Remarks
The prefix t is used to associate this attribute with an XML namespace.
Example
This example uses the BEGIN attribute to make text appear and disappear over time.
Sample Code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML> <HEAD> <STYLE> .time { behavior: url(#default#time);} </STYLE> </HEAD> <BODY BGCOLOR="white"> <SPAN CLASS=time STYLE="COLOR:Red;" t:BEGIN="0" t:DUR="3" t:TIMEACTION="display"> <H3>Paragraph #1</H3> <P>This is paragraph number one. It appears for three seconds immediately after the page is loaded.</P> </SPAN> <SPAN CLASS=time STYLE="COLOR:Blue;" t:BEGIN="4" t:DUR="4" t:TIMEACTION="display"> <H3>Paragraph 2</H3> <P>This is paragraph number two. It appears one second after the first paragraph disappears, and remains displayed for four seconds.</P> </SPAN> <H1 CLASS=time t:BEGIN="8" t:DUR="indefinite" t:TIMEACTION="display"> The End. </H1> </BODY> </HTML>
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus. animation, audio, img, media, par, seq, time, video
See Also
html+time, BEGINAFTER, BEGINEVENT, BEGINWITH
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.