最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

ACCUMULATE Attribute | accumulate Property

Internet Development Index

Sets or retrieves a value that indicates whether the animation is cumulative.

Syntax

HTML<ELEMENT ACCUMULATE = sType... >
Scriptingobject.accumulate(val) [ = sType ]

Possible Values

sTypeString that specifies or receives one of the following values:
noneDefault. Repeat iterations are not cumulative.
sumEach repeat iteration after the first one builds upon the last value of the previous iteration.

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

Remarks

This property is ignored if the target attribute value does not support addition, or if the repeatCount value is one. Also, cumulative animation is not defined for animation specified using the to attribute.

Example

This example demonstrates the two uses of the accumulate property; none and sum.

<HTML XMLNS:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>accumulate Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
<SCRIPT>
function beginNone(){
count.innerText="1";
t1.accumulate="none";
accumulate1.innerText="none";
t1.beginElement();
l.innerText = "";
h.innerText = "";
}
function beginSum(){
count.innerText="1";
t1.accumulate="sum";
accumulate1.innerText="sum";
t1.beginElement();
l.innerText = "";
h.innerText = "";
}
function displayDimension(){
if(t1.accumulate == 'sum'){
l.style.left = "305px";
h.style.left = "610px";
l.innerText = "450px";
h.innerText = "100px";
}else{
l.style.left = "135px";
h.style.left = "310px";
l.innerText = "150px";
h.innerText = "100px";
}
}
</SCRIPT>
</HEAD>
<BODY>
<SPAN id="l" style="position:absolute;top:100px;"></SPAN>
<SPAN id="h" style="position:absolute;top:165px;"></SPAN>
<t:ANIMATE id="t1" targetElement="div1" attributeName="width" by="150px"
dur="3" repeatCount="3" begin="indefinite" onend="displayDimension();"
onrepeat="count.innerText=t1.currTimeState.repeatCount+1" fill="freeze" />
<DIV id="div1"
style="position:absolute;top:125px;left:25px;height:100px;width:125px;
background-color:yellow;text-align:center;font-size:large;
border:solid black 2px;">Expanding DIV
</DIV>
<SPAN style="position:absolute;top:245px;"><B>Accumulate:</B></SPAN>
<SPAN id="accumulate1" style="position:absolute;top:245px;left:130px;"></SPAN>
<SPAN style="position:absolute;top:265px;">Current Iteration:</SPAN>
<SPAN id="count" style="position:absolute;top:265px;left:150px;">1</SPAN>
<P style="position:absolute;top:300px;left:25px;">
<BUTTON onclick="beginNone()"><B>Accumulate</B> = NONE</BUTTON>
<BUTTON onclick="beginSum()"><B>Accumulate</B> = SUM</BUTTON>
</P>
</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:TRANSITIONFILTER, t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION

See Also

Introduction to HTML+TIME
西藏| 宝鸡市| 宁城县| 沙雅县| 综艺| 兴仁县| 珲春市| 墨江| 长寿区| 麻阳| 巴青县| 金乡县| 伽师县| 墨脱县| 通州区| 黑龙江省| 凤山市| 罗源县| 红安县| 遵化市| 曲沃县| 广河县| 同江市| 富裕县| 宁夏| 宁都县| 周口市| 巴南区| 永川市| 永新县| 四子王旗| 阿克陶县| 绥滨县| 和硕县| 顺昌县| 积石山| 弋阳县| 区。| 固原市| 江山市| 岫岩|