Click to return to the DHTML, HTML     
HOVERSRC Attribute | hove...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

PRESSEDSRC Attribute | pressedSrc Property


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

Syntax

HTML<IMG PRESSEDSRC = "sImage" ... >
Scripting[ sImage = ] oImage.pressedSrc

Possible Values

sImage String specifying the path and file name of the replacement image.

The property is read/write with 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

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
imageRollover


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.