higher Attribute | higher Property

This topic documents a feature of HTML+TIME 2.0, which is obsolete as of Windows Internet Explorer 9.

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

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

Syntax

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

Possible Values

sHigherPriority String that specifies or receives one of the following values.
pause
Default. 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.
stop
If 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>

Code example: http://samples.msdn.microsoft.com/workshop/samples/author/behaviors/higher.htm

Applies To

t:PRIORITYCLASS

See Also

Introduction to HTML+TIME, priorityClass