External Interfaces > RealWeb > RealWeb API > Forms > Form Elements > RWA_IMAGE_FUNCTION

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RWA_IMAGE_FUNCTION (RealWeb) (rwa_image_function.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RWA_IMAGE_FUNCTION


Purpose

Creates an image button for an HTML document that invokes a JavaScriptClosed function. Outputs generated code to vText buffer. Up to three images can be specified for display on the button (see also RWA_IMAGE_ANCHOR).

Syntax

RWA_IMAGE_FUNCTION(vString, JSFunction, Description, aImageURLArray, aClass)

Parameters

vString A variable containing the string to which the generated code is appended. On return, the variable contains the modified string. If the string does not exist, it is created.

JSFunction JavaScript function to be called when the image is clicked.

Description Alternative text for the image (the text displayed if the image cannot be displayed).

aImageURLArray
A dynamic arrayClosed containing up to 3 image URLs:

aClass A dynamic arrayClosed that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSSClosed stylesheet.
2 ALT

Alternative text that is displayed instead of the image, if image display is not possible or disabled by the user.

This must be a text string of up to 1024 characters. It can contain entity references to special characters, but cannot contain any other sort of markup; in particular, no style tags are allowed.

Attributes defined in the aClass parameter are applied to the INPUT tag.

For information about using aClass, see The aClass Parameter.

RealityV15.1 (MoTW) Revision 7Comment on this topic