Export (0) Print
Expand All
6 out of 9 rated this helpful - Rate this topic

Default Behaviors Reference

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Introduction to DHTML Behaviors provides a means for Web developers to extend the current Windows Internet Explorer object model. A number of behaviors have been implemented as part of Microsoft Internet Explorer 5 and are referred to as default behaviors.

As of Internet Explorer 5.5 and later, the time2 behavior is available only in the Microsoft Win32 platform. This default behavior enables users to add timed, interactive elements to HTML pages. Using the HTML+TIME (Timed Interactive Multimedia Extensions) extensions, any HTML element can be set to appear at a given time, last for a specified duration, and repeat the action if desired.

This section contains links that provide access to the object model exposed by these default behaviors.

Behaviors

anchorClick

Enables the browser to navigate to a folder view.

anim

Defines an instance of the Microsoft DirectAnimation viewer in an HTML document to render DirectAnimation objects and play DirectAnimation sounds.

clientCaps

Obsolete. Provides information about features supported by Internet Explorer, as well as a way for installing browser components on demand.

download

Downloads a file and notifies a specified callback function when the download is complete.

homePage

Contains information about a user's homepage.

httpFolder

Contains scripting features that enable browser navigation to a folder view.

mediaBar

Obsolete. Provides a basic UI for locating and playing media within the browser window. The Media Bar

saveFavorite

Enables the object to persist data in a favorite Web site.

saveHistory

Enables the object to persist data in the browser history.

saveSnapshot

Enables the object to persist data when a Web page is saved.

userData

Enables the object to persist data in user data.

Objects

MediaItem

Obsolete. Represents a single item in a media player playlist.

PlaylistInfo

Obsolete. Contains information about a media player playlist.

Attributes/Properties

attributeCount

Obsolete. Retrieves the count of the attributes associated with the media object.

availHeight

Obsolete. Retrieves the height of the working area of the system's screen, excluding the Windows taskbar.

availWidth

Obsolete. Retrieves the width of the working area of the system's screen, excluding the Windows taskbar.

bufferDepth

Deprecated. Retrieves the number of bits per pixel used for colors on the off-screen bitmap buffer.

colorDepth

Deprecated. Retrieves the number of bits per pixel used for colors on the destination device or buffer.

connectionType

Obsolete. Retrieves the type of connection in use.

cookieEnabled

Obsolete. Specifies whether client-side cookies are enabled in the browser.

cpuClass

Obsolete. Retrieves a string representing the CPU class.

currentItem

Obsolete. Retrieves the current media item.

disabledUI

Obsolete. Sets or retrieves a Boolean value that specifies whether an instance of the Media BarUI is disabled.

duration

Obsolete. Retrieves the duration of the current media item.

enabled

Obsolete. Sets or retrieves a Boolean value that specifies whether the Media Bar player control is enabled.

expires

Sets or retrieves the expiration date of data persisted with the userData behavior.

folder

Sets or retrieves a namespace extension, address, or path.

hasNextItem

Obsolete. Retrieves a value that indicates whether any successive items follow the current item in the playlist.

height

Obsolete. Retrieves the vertical resolution of the screen.

image

Sets or retrieves the DirectAnimation Image (DAImage class) displayed by the anim:DA element.

javaEnabled

Obsolete. Retrieves whether the Microsoft virtual machine (Microsoft VM) is enabled.

name

Obsolete. Retrieves the name of the media.

nextItem

Obsolete. Retrieves the next media item in a playlist, if there is one.

openState

Obsolete. Retrieves an integer that indicates the open state of the Media Bar player.

platform

Obsolete. Retrieves the platform on which the browser is running.

playlistInfo

Obsolete. Retrieves playlist information, if a playlist exists.

playState

Obsolete. Retrieves an integer that indicates the play state of the Media Bar player.

sound

Sets or retrieves the DirectAnimation sound (DASound class) played by the anim:DA element.

sourceURL

Obsolete. Retrieves the URL of the media.

statics

Retrieves an object containing the DAStatics class library used with DirectAnimation.

systemLanguage

Obsolete. Retrieves the default language that the system is running.

target

Sets or retrieves the name of a window or frame that is the target for navigation.

userLanguage

Obsolete. Retrieves the current user language.

width

Obsolete. Retrieves the horizontal resolution of the screen.

XMLDocument

Retrieves a reference to the XML

Methods

addComponentRequest

Obsolete. Adds the specified component to the queue of components to be installed.

addDABehavior

Adds a DirectAnimation behavior (DABehavior class) to the run list when the behavior is not part of the animation model.

clearComponentRequest

Obsolete. Clears the queue of all component download requests.

compareVersions

Obsolete. Compares two version numbers.

doComponentRequest

Downloads all the components that have been queued using addComponentRequest.

getAttribute

Retrieves the value of the specified attribute.

getAttributeName

Obsolete. Returns the name of the attribute whose index has been specified.

getComponentVersion

Obsolete. Retrieves the version of the specified component.

getItemInfo

Obsolete. Returns the value of the specified attribute for the current media.

isComponentInstalled

Retrieves whether the specified component is available.

isHomePage

Deprecated. Determines whether the specified URL refers to the client's home page.

load

Loads an object participating in userData persistence from a UserData store.

navigate

Navigates the window to the specified location and displays the contents in folder view.

navigateFrame

Navigates the window or frame to the specified location and displays the contents in folder view.

navigateHomePage

Navigates the browser to a user's home page.

playNext

Obsolete. Starts playback of the next media item in the playlist, if a playlist is present.

playURL

Obsolete. Loads media from a URL into the Media Bar and starts playback.

removeAttribute

Removes the specified attribute from the object.

removeDABehavior

Removes a DirectAnimation behavior (DABehavior) class added by the addDABehavior method.

save

Saves an object participating in userData persistence to a UserData store.

setAttribute

Sets the value of the specified attribute.

setHomePage

Deprecated. Sets a user's home page to the specified value.

startDownload

Downloads the specified file.

stop

Obsolete. Stops playback of the media that is currently playing.

Events

onhide

Obsolete. Fires when the Media Bar player is hidden.

onload

Fires from a persistent element when the page reloads.

onopenstatechange

Obsolete. Fires when the Media Bar player changes its open state.

onplaystatechange

Obsolete. Fires when the Media Bar player changes its play state.

onsave

Fires from a persisted element when the Web page is saved or bookmarked, or when the user navigates away from the page.

onshow

Obsolete. Fires when the Media Bar player becomes visible.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.