IMG Element | img Behavior

DHTML, HTML, & CSS

IMG Element | img Behavior


This document describes technologies available as an experimental implementation of HTML+TIME within Internet Explorer 5. While we encourage you to evaluate these features and to send us your feedbackInternet Link, please note that these features are subject to change.

Defines a timed image element in an HTML document.

Syntax

XML<t:IMG ID="sID" STYLE="behavior:url(#default#time)" />
HTMLN/A
ScriptingN/A

Possible Values

sID String that specifies a unique identifier for the object.

Members

Remarks

The members listed in the preceding table might not be accessible through scripting until the window.onload event fires. Waiting for this event to fire ensures that the page is completely loaded, that all behaviors have been applied to corresponding elements on the page, and that all the behavior's properties, methods, and events are available for scripting. Using any of the behavior-defined members before the window.onload event fires could result in a scripting error, indicating that the object does not support that particular member.

Although different media-based elements exist, there is no functional difference in their current implementation. However, you are encouraged to use elements such as ANIMATION, AUDIO, IMG, MEDIA, and VIDEO for improved document readability and enhanced future support.

This element duplicates the HTML IMG element and provides control over media loading. Use this element instead of the HTML IMG element for timing images in Microsoft® Internet Explorer 5.

The prefix t is used to associate this element with an XML namespace. You must include the following line of code in the HEAD section of your HTML document when using this element.

<XML:NAMESPACE PREFIX="t"/>

The IMG element is available as of Internet Explorer 5, only in the Microsoft® Win32® platform.

See Also

dhtml behaviorsInternet Link, html+timeInternet Link, using dhtml behaviorsInternet Link

Back to topBack to top

Did you find this topic useful? Suggestions for other topics? write us!Internet Link

© 1999 microsoft corporation. all rights reserved. terms of useInternet Link.