Share via


PRESSEDSRC Attribute | pressedSrc Property

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

Specifies the new image source to display when the img object is clicked.

Syntax

XML <ELEMENT PRESSEDSRC = sImage... >
Scripting [ sImage = ] imageRollover.pressedSrc

Possible Values

sImage String that specifies or receives the path and file name of the replacement image.

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

Remarks

The pressedSrc property is available only to objects participating in the imageRollover behavior.

The image specified as the value for the pressedSrc property replaces the existing image when the object is clicked. The original image is restored when the mouse button is released.

Applies To

imageRollover