lower Attribute | lower参数属性 | DHTML中文手册 |
Controls how elements that are defined with lower priority interrupt child elements of a priorityclass element.
dhtml语法
HTML <t:PRIORITYCLASS lower = sLowerPriority... > Scripting t:PRIORITYCLASS.lower [ = sLowerPriority ]
DHTML可能的值
sLowerPriority String that specifies or receives one of the following values.
defer Default. If a lower-priority element attempts to begin while a child element of this priorityClass 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. never If a lower priority element attempts to begin while a child element of this priorityClass is active, the interrupting element's attempt is denied. The begin time of the interrupting element is ignored. The pause queue is unaffected. The property is read/write. The property has a default value of defer.
DHTML代码范例
This example uses the lower property set to never to show how elements with a lower priority interrupt child elements of a priorityClass element.
<HTML XMLNS:t="urn:schemas-microsoft-com:time"> <HEAD> <TITLE>lower 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 id="t1" begin="0;indefinite;"> <t:priorityclass lower="never"> <SPAN id="s2" class="time" begin="0" dur="10"> <H3>Paragraph 1</H3> <P>Paragraph 1 begins at 0 seconds and has a duration of 10 seconds.</P> </SPAN> </t:priorityclass> <t:priorityclass> <SPAN id="s1" class="time" begin="5" dur="5"> <H3>Paragraph 2</H3> <P>Paragraph 2 never begins.</P> </SPAN> </t:priorityclass> </t:excl> <BR> <BUTTON id="b1" onclick="t1.beginElement();">Click to restart</BUTTON> </BODY> </HTML>
是否符合公共标准
This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 .
Applies To
t:PRIORITYCLASS
更多语法参考
Introduction to HTML+TIME