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

FROM Attribute | from Property

Internet Development Index

Sets or retrieves the starting value of an animation.

Syntax

HTML<ELEMENT FROM = vValue... >
Scriptingobject.from(val) [ = vValue ]

Possible Values

vValueVariant that specifies or receives the starting 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

If a from value is not specified, the animation uses the attribute's value at the time the animation is started.

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.from='100px';
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 from value through script:
<SCRIPT>
object.endElement();
object.path=null;
object.from='100px';
object.beginElement();
</SCRIPT>

Example

This example uses the from property to set the starting value of the 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>
<!-- The ANIMATE element that facilitates animation of the DIV. -->
<t:ANIMATE ID="oAnim" AUTOREVERSE="true" begin="2" targetElement="div1"
attributeName="left" from="100px" dur="5" to="200px" fill="hold"/>
<!-- The DIV that is being animated -->
<DIV id="div1" class="time"
style="position:absolute;left:0px; top:170px; 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

See Also

Introduction to HTML+TIME, by, to
芜湖县| 翁牛特旗| 榆社县| 贺州市| 塔城市| 辉南县| 盱眙县| 永济市| 门源| 清流县| 安达市| 顺义区| 琼结县| 鹤壁市| 许昌市| 泊头市| 鹤庆县| 监利县| 古田县| 喀喇| 黔东| 班玛县| 佛坪县| 连城县| 子洲县| 延寿县| 饶平县| 孟州市| 志丹县| 德州市| 唐海县| 天柱县| 曲周县| 邹城市| 龙江县| 从化市| 麦盖提县| 洛隆县| 永定县| 绥阳县| 尖扎县|