Κοινή χρήση μέσω


t:BEGIN Attribute | begin Property (deprecated)

This page documents a feature of HTML+TIME 1.0, which was released in Microsoft® Internet Explorer 5. We recommend that you migrate your content to the latest version of HTML+TIME, which implements the SMIL 2.0 Working Draft. See the Introduction to HTML+TIME overview for more information.

Sets or gets the delay time before the timeline begins playing on the element.

Syntax

XML <ELEMENT t:BEGIN = sTime... >
Scripting [ sTime = ] object.begin

Possible Values

sTime String that specifies or receives a clock value described in Time Formats, such as h:min:s.f.

The property is read/write. The property has no default value.

Remarks

You must prefix attributes with the t: namespace.

Example

This example uses the t:BEGIN attribute to make text appear and disappear over time.

<!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>

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/time_begin.htm

Applies To

t:AUDIO, t:IMG, t:MEDIA, t:PAR, t:SEQ, time, t:VIDEO

See Also

Introduction to HTML+TIME, t:BEGINAFTER, t:BEGINEVENT, t:BEGINWITH