HBCMS更多的中文手册参考:

ATTRIBUTENAME Attribute | attributeName参数属性

DHTML中文手册

Sets or retrieves the name of the element's attribute to be animated.

dhtml语法

HTML<ELEMENT ATTRIBUTENAME = sAttribute... >
Scriptingobject.attributeName(attrib) [ = sAttribute ]

DHTML可能的值

sAttributeString that specifies or receives the name of the element's attribute to be animated.

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

Remarks

The value of this property must be a valid attribute on the specified element.

DHTML代码范例

This example shows how to use the attributeName property set to "width" to animate the element's width attribute.

<html xmlns:t="urn:schemas-microsoft-com:time">
<HEAD>
<TITLE>attributeName Property</TITLE>
<?IMPORT namespace="t" implementation="#default#time2">
<STYLE>
.time{ behavior: url(#default#time2);}
</STYLE>
</HEAD>
<BODY TOPMARGIN=0 LEFTMARGIN=0 BGPROPERTIES="FIXED" BGCOLOR="#FFFFFF"
LINK="#000000" VLINK="#808080" ALINK="#000000">
<t:ANIMATE id="t1" targetElement="div1" attributeName="width" to="250px"
dur="5" autoreverse="true" repeatCount="indefinite" />
<DIV id="div1" style="position:relative;top:25px;left:50px;height:100px;
width:100px;background-color:yellow;text-align:center;font-size:large;">
Expanding 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.

是否符合公共标准

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

Applies To

t:ANIMATE, t:ANIMATECOLOR, t:SET

更多语法参考

Introduction to HTML+TIME