HBCMS更多的中文手册参考:

peers Attribute | peers参数属性

DHTML中文手册

Controls how child elements of a priorityclass element interrupt one another.

dhtml语法

HTML<t:PRIORITYCLASS peers = peers... >
Scriptingt:PRIORITYCLASS.peers [ = peers ]

DHTML可能的值

peersString that specifies or receives one of the following values.
stopDefault. If a child element begins while another child element is active, the active element is stopped. The pause queue is unaffected.
deferIf a child element attempts to begin while another child element is active, the interrupting element is deferred until the active element completes its active duration. In effect, the new element is placed at the top of the pause queue and paused at its very beginning. The pause queue is otherwise unaffected.
neverIf a child element attempts to begin while another child element is active, the interrupting element's attempt is denied. The pause queue remains unaffected.
pauseIf a child element begins while another child element is active, the active element is paused and resumes when the interrupting element completes its active duration. The paused element is added to the top of the pause queue.

The property is read/write. The property has a default value of stop.

DHTML代码范例

This example uses the peers attribute to specify that a child element pause when another child element begins, and then resume its duration.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>peers Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<t:excl>
<t:priorityclass peers="pause">
<SPAN id="d1" class="time" begin="0" dur="10">
<H3>Paragraph 1</H3>
<P>Paragraph 1 is displayed until it is interrupted by the next element
(at 5 seconds) and then resumes its duration of 10 seconds.</P>
</SPAN>
<SPAN id="d2" class="time" begin="5" dur="3">
<H3>Paragraph 2</H3>
<P>Paragraph 2 is displayed for 3 seconds; Paragraph 1 then resumes its
duration.</P>
</SPAN>
</t:priorityclass>
</t:excl>
</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.

是否符合公共标准

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

Applies To

t:PRIORITYCLASS

更多语法参考

introduction to html+time, priorityClass