Site Map | About Us | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.

setImageĀ MethodĀ 

Sets image Url for an image only menu item for a given state.

[JavaScript]
MenuItem.setImage(url, state)

Parameters

url
The new Url.
state
Optional. A string value specified which state of the url the function should return. If not provided, Url for the Normal state is returned. See getLeftIcon for a complete list of valid values for this paramter.

See Also

MenuItem Object


Direct link to this topic