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
animation, audio, img, media, par, seq, time, video
See Also
HTML+TIME, BEGINAFTER, BEGINEVENT, BEGINWITH