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

TO Attribute | to Property

Internet Development Index

Sets or retrieves the ending value of an animation.

Syntax

HTML<ELEMENT TO = vValue... >
Scriptingobject.to(val) [ = vValue ]

Possible Values

vValueVariant that specifies or receives the ending value of the animation. This value can include any of the following length unit designators: px, in, cm, mm, pt, pc. For more information about the supported length units, see the CSS Length Units Reference.

The property is read/write. The property has no default value.

Remarks

The by property cannot be used on the same element as the to property. If both properties are specified, the by value is ignored.

When writing script to dynamically change the properties of an active animation, developers should consider a couple of issues. Because results might be unpredictable or undefined when you change the properties of an active animation, restart the animation with beginElement after you have made the change. For example:

<SCRIPT>
object.endElement();
object.to='400';
object.beginElement();
</SCRIPT>

For the animate, animateMotion, and animateColor objects, the time2 behavior uses the following model to evaluate which properties to animate.

To change an active animation from a path to a to value through script:
<SCRIPT>
object.endElement();
object.path=null;
object.to='400';
object.beginElement();
</SCRIPT>

Example

This example demonstrates how to use the to attribute to set the ending value of an animation.

<HTML XMLNS:t ="urn:schemas-microsoft-com:time">
<HEAD>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY>
<t:ANIMATE AUTOREVERSE="true" TARGETELEMENT="div1" ATTRIBUTENAME="left"
FROM="100" DUR="5" TO="300" FILL="hold"/>
<DIV id="div1" class="time"
style="position:absolute; top:170; background-color:#003399;color:#FFCC00">
Moving DIV</DIV>
</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:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION, t:SET

See Also

Introduction to HTML+TIME
稷山县| 潞城市| 通化市| 池州市| 湟源县| 通海县| 荥经县| 正镶白旗| 班玛县| 雷州市| 佳木斯市| 重庆市| 新乡县| 张北县| 绵阳市| 福清市| 湘潭市| 灵山县| 嘉黎县| 易门县| 临高县| 望奎县| 泰来县| 四会市| 沿河| 柏乡县| 太谷县| 新巴尔虎右旗| 青田县| 比如县| 聂荣县| 英山县| 尉犁县| 渭南市| 军事| 普格县| 麦盖提县| 外汇| 红河县| 江川县| 株洲市|