HBCMS更多的中文手册参考:

t:END Attribute | end Property?deprecated)

DHTML中文手册

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 retrieves a value indicating the end time for the element, or the end of the simple duration when the element is set to repeat.

dhtml语法

xml<ELEMENT t:END = sTime... >
Scriptingobject.end [ = sTime ]

DHTML可能的值

sTimeString that specifies or receives one of the following values:
clock-valueClock value, such as h:min:s.f, described in time formats.
indefiniteElement remains active on the timeline for an indefinite amount of time.

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

Remarks

The t:END attribute represents an absolute value along the parent element's timeline starting at zero seconds. By contrast, the t:dur attribute represents a value relative to the value of the element's t:begin attribute. do not use the t:end attribute on the same element as the t:dur attribute.

you must prefix the attribute with the t: namespace.

DHTML代码范例

This example uses the t:END attribute to display three lines of text, each with its own start time, but all with the same end 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:END="10"
t:TIMEACTION="visibility">
<H3>Paragraph 1</H3>
<P>This is paragraph number one. It is displayed as soon as
the page is loaded.</P>
</SPAN>
<SPAN CLASS="time" STYLE="COLOR:Blue;" t:BEGIN="3" t:END="10"
t:TIMEACTION="visibility">
<H3>Paragraph 2</H3>
<P>This is paragraph number two. It is displayed three seconds
after the page is loaded.</P>
</SPAN>
<SPAN CLASS="time" STYLE="COLOR:Green;" t:BEGIN="6" t:END="10"
t:TIMEACTION="visibility">
<H3>Paragraph 3</H3>
<P>This is paragraph number three. It is displayed six seconds
after the page is loaded.</P>
</SPAN>
<P>The preceding paragraphs have different start times, but they
all have an end value of ten. Therefore, all three paragraphs will
disappear when the timeline reaches ten seconds.</P>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

是否符合公共标准

This property is defined in HTML+TIME (Timed Interactive Multimedia Extensions) 1.0 Non-Microsoft link.

Applies To

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

更多语法参考

introduction to html+time, t:endevent, t:ENDHOLD