最新国产好看的视频,伊人天堂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
沧州市| 东宁县| 二连浩特市| 鄂托克前旗| 买车| 洛川县| 确山县| 北安市| 新昌县| 仙居县| 江津市| 巨鹿县| 中西区| 临武县| 凤冈县| 聂拉木县| 阿拉善盟| 东宁县| 夏河县| 许昌市| 河池市| 册亨县| 阿坝| 历史| 吉木乃县| 福州市| 河北省| 盐津县| 博白县| 潮安县| 沈丘县| 峨山| 微山县| 贵定县| 措美县| 五大连池市| 双牌县| 岳西县| 琼海市| 柳林县| 大田县|