Click to return to the DHTML, HTML     
IMGCLOSE Attribute | imgC...     masterState Property     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

IMGEXPAND Attribute | imgExpand Property


Specifies the source path of the image to display when a menu is closed for the menu behavior.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('expand.htc')" IMGEXPAND = sSRC | "default" .../>
Scripting[ sSRC | "default" = ] oMenu.imgExpand

Possible Values

Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag.
CustomTag User-defined tag.
sID String that uniquely identifies the object.
sSRC String specifying the path to the image that is displayed when the menu is closed.
default Default image file shipped with the menu behavior.

The property is read/write with no default value.

Remarks

Images are located on the left margin of each menu parent. When the menu is collapsed, the default file reference for the imgExpand property is a plus (+) sign, and the default file reference for the imgClose property is a minus (-) sign. Note that in order to render, the image files must be available on the server hosting the behavior, or accessible through a network.

The imgExpand property is available only to objects participating in the menu behavior.

Applies To

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


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.