最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

DUR Attribute | dur Property

Internet Development Index

Sets or retrieves a value indicating the amount of time the element remains active or displayed.

Syntax

HTML<ELEMENT DUR = sTime... >
Scriptingobject.dur [ = sTime ]

Possible Values

sTimeString爐hat specifies one of the following values:
indefiniteElement remains active on the timeline for an indefinite amount of time.
durationAmount of time the element remains active or displayed. The time must be specified as described in Time Formats.

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

Remarks

Any media tag (img, media, etc.) has a default DUR value based on the type of media. For movies, audio, and animated GIFs, the default DUR is built into the media and can be determined by calling the mediaDur property. For static images, the default DUR value is zero seconds. When used with any other type of element, the default value for DUR is indefinite.

The DUR attribute is a value relative to the value of the element's BEGIN attribute. By contrast, the END attribute represents an absolute value along the parent element's timeline starting at 0 seconds. Do not use the DUR attribute on the same element as the END attribute.

For Microsoft?DirectMusic? if you set dur to be 0 on a playing segment, it will stop playing at the end of the next measure.

The dur property is read-only on the playItem object.

Example

This example uses the DUR attribute to display lines of text for different amounts of time.

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY BGCOLOR="white">
<SPAN CLASS=time STYLE="COLOR:Red;" BEGIN="0" DUR="5"
TIMEACTION="visibility">
<H3>Paragraph 1</H3>
<P>This is paragraph number one. It displays for five
seconds.</P>
</SPAN>
<SPAN CLASS=time STYLE="COLOR:Blue;" BEGIN="0" DUR="10"
TIMEACTION="visibility">
<H3>Paragraph 2</H3>
<P>This is paragraph number two. It displays for ten
seconds.</P>
</SPAN>
<SPAN CLASS=time STYLE="COLOR:Green;" BEGIN="0" DUR="indefinite"
TIMEACTION="visibility">
<H3>Paragraph 3</H3>
<P>This is paragraph number three. It displays
indefinitely.</P>
</SPAN>
</BODY>
</HTML>
This feature requires Microsoft?Internet Explorer 5.5 or later. Click the following icon to install the latest version. Then reload this page to view the sample.

Standards Information

This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 Non-Microsoft link.

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:ANIMATION, t:AUDIO, t:EXCL, t:IMG, t:MEDIA, t:PAR, playItem, playList, t:REF, t:SEQ, t:SET, time2, t:VIDEO

See Also

Introduction to HTML+TIME, activeDur, mediaDur, repeatDur, segmentDur, simpleDur
萝北县| 呈贡县| 甘泉县| 平昌县| 会泽县| 海丰县| 丘北县| 黔东| 沈阳市| 高安市| 淄博市| 宁都县| 开平市| 通城县| 益阳市| 中牟县| 昌乐县| 嵊州市| 凌海市| 星座| 措美县| 姚安县| 栖霞市| 龙陵县| 乌兰察布市| 秦皇岛市| 高碑店市| 周口市| 沭阳县| 苍溪县| 阜阳市| 门源| 梅州市| 明光市| 西吉县| 北流市| 宜丰县| 内黄县| 四会市| 琼中| 夏邑县|