Поделиться через


lower Attribute | lower Property

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

Controls how elements that are defined with lower priority interrupt child elements of a priorityClass element.

Syntax

HTML <t:PRIORITYCLASS lower = sLowerPriority... >
Scripting [ sLowerPriority = ] t:PRIORITYCLASS.lower

Possible Values

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 begin time.
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.

Example

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>

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

Applies To

t:PRIORITYCLASS

See Also

Introduction to HTML+TIME