ORIGIN Attribute | origin Property (t:ANIMATEMOTION)

HTML (DHTML)

ORIGIN Attribute | origin Property

Internet Development Index

Sets or retrieves the origin of motion for the animation.

Syntax

HTML<t:ANIMATEMOTION ORIGIN = sOrigin... >
Scriptingt:ANIMATEMOTION.origin(val) [ = sOrigin ]

Possible Values

sOriginString that specifies or receives the origin of motion for the animation.
parentOrigin is the upper-left corner of the bounding box of the element's parent.
elementDefault. Origin is the upper-left corner of the bounding box of the element.
defaultEquivalent to element.

The property is read/write. The property has a default value of element.

Remarks

The ORIGIN attribute only applies when the additive property is set to replace.

Standards Information

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

Applies To

t:ANIMATEMOTION

See Also

Introduction to HTML+TIME, time2