higher Attribute | higher Property (t:PRIORITYCLASS)

HTML (DHTML)

higher Attribute | higher Property

Internet Development Index

Controls how elements with higher priority interrupt child elements of a priorityClass element.

Syntax

HTML<t:PRIORITYCLASS higher = sHigherPriority... >
Scriptingt:PRIORITYCLASS.higher [ = sHigherPriority ]

Possible Values

sHigherPriorityString that specifies or receives one of the following values.
pauseDefault. If a higher priority element begins while a child element of this priorityClass is active, the active child 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.
stopIf a higher priority element begins while a child element of this priorityClass is active, the active child element is stopped. Any paused elements are also stopped, and the pause queue is cleared.

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

Example

This example uses the higher attribute set to "stop" to show how elements with higher priority interrupt child elements of a priorityClass element.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>higher 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>
<SPAN id="s1" class="time" begin="5" dur="5">
<H3>Paragraph 1</H3>
<P>Paragraph 1 begins at 5 seconds with a duration of 5
seconds.</P>
</SPAN>
</t:priorityclass>
<t:priorityclass higher="stop">
<SPAN id="s2" class="time" begin="0" dur="10">
<H3>Paragraph 2</H3>
<P>Paragraph 2 begins at 0 seconds until it is interrupted by
a higher priority element at 5 seconds. Paragraph 2
ends.</P>
</SPAN>
</t:priorityclass>
</t:excl>
<BR>
<BUTTON id="b1" onclick="t1.beginElement();">Click to restart</BUTTON>
</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:PRIORITYCLASS

See Also

Introduction to HTML+TIME, priorityClass