s@rdalya

 

ImageRollover

Page history last edited by vozcelik 3 yrs ago


 

ImageRollover

(extends Object)


Object Summary

Creates a hover image, so that when the mouse cursor goes over it, the URL of the image changes to the hover URL.


Constructor

 

ImageRollover(elmID,strURL,strHoverURL,strBaseClass,strHoverClass)

 

parameters

elmID - The object reference or String index of the DHTML element.

strURL - current URL.

strHoverURL - hover URL.

strBaseClass - (optional) current className.

strHoverClass - (optional) hover className.

 

comments

Creates a new instance of ImageRollover.


Methods

 

ImageRollover.getHoverURL()

 

returns

The hover image source.

 

comments

Gets the hover image source.


ImageRollover.getURL()

 

returns

The normal image source.

 

comments

Gets the normal image source.


See Also

 

None given.


Comments (0)

You don't have permission to comment on this page.