Active Image
The Active Image component responds to user events, such as onMouseOver
and onClick, with image swapping and other actions.
Properties
name
- Description: (REQUIRED) Enter unique name of the control. Must exactly match the name of the corresponding JavaScript object on the page.
- Type: String
- Default Value: ImageCtl1
linkURL
- Description: Enter link URL.
- Type: String
- Default Value: http://
alt
- Description: Enter alternative text or hint.
- Type: String
defaultImage
- Description: (REQUIRED) Enter URL to default or initial image to display.
- Type: String
mouseOutImage
- Description: Enter mouse out image URL.
- Type: String
mouseOverImage
- Description: Enter mouse over image URL.
- Type: String
mouseDownImage
- Description: Enter mouse down image URL.
- Type: String
mouseUpImage
- Description: Enter mouse up image URL.
- Type: String
stateOnImage
- Description: Enter image URL for on state.
- Type: String
stateOffImage
- Description: Enter image URL for off state
- Type: String
stateOn
- Description: Is current state on?
- Value Set: true | false
- Type: Boolean
- Default Value: false
height
- Description: Enter the image height.
- Type: Number
width
- Description: Enter the image width.
- Type: Number
target
- Description: Enter the link target.
- Type: String
border
- Description: Enter the image border.
- Type: Number
- Default Value: 0
testMode
- Description: Select the test mode.
- Value Set: off | alert | text
- Type: String
- Default Value: off
- Is Expert: Yes
Methods
Render
- Name: render()
- Description: Renders control.
Events
On Click
- Name: onClick()
- Description: Event fires on completed click of mouse button.
On Mouse Down
- Name: onMouseDown()
- Description: Event fires on down press of mouse button.
On Mouse Up
- Name: onMouseUp()
- Description: Event fires on upward movement or release of mouse button.
On Mouse Over
- Name: onMouseOver()
- Description: Event fires on rolling cursor over image.
On Mouse Out
- Name: onMouseOut()
- Description: Event fires on rolling cursor off of image.
On Error
- Name: onError()
- Description: Event fires on failure to load image.
On Abort
- Name: onAbort()
- Description: Event fires on user aborted loading of image.
On Load
- Name: onLoad()
- Description: Event fires on successfull load of image.
On Render
- Name: onRender()
- Description: Event fires on render of image control.
Other Information
Environment: Client