HBCMS更多的中文手册参考:

VALUES Attribute | values参数属性

DHTML中文手册

Sets or retrieves a list of semicolon-separated values of an animation.

dhtml语法

HTML<ELEMENT VALUES = vValues... >
Scriptingobject.values(val) [ = vValues ]

DHTML可能的值

vValues Variant that specifies or receives a list of semicolon-separated values. The values are applied over the course of the animation in the order they appear. 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 CSS Length Units Reference.

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

Remarks

The animation values must be legal values for the specified attributename property. the values property overrides any specified to, from, or by values set on the animation.

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.values="50,50;10,10";
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 values list through script:
<SCRIPT>
object.endElement();
object.path=null;
object.values="100,100;0,0";
object.beginElement();
</SCRIPT>

是否符合公共标准

This property is defined in Synchronized Multimedia Integration Language (SMIL) 2.0 Non-Microsoft link.

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:ANIMATEMOTION

更多语法参考

Introduction to HTML+TIME