External Interfaces > RealWeb > RealWeb API > Links > RW_IMAGE_ANCHOR

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

RW_IMAGE_ANCHOR (RealWeb) (rw_image_anchor.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RW_IMAGE_ANCHOR


Purpose

Creates an anchor for up to three different images in a single position. For example, it could be used to display a button that changes colour when the mouse hovers above it, then changes colour again when you click it - that is, three different images of the button are displayed showing it in three different colours. This subroutine outputs directly to RealWeb's RWC.OUTBUF buffer.

Syntax

RW_IMAGE_ANCHOR(LinkURL, Description, aImageURLArray, TargetFrame, aClass)

Parameters

LinkURL URLClosed of the document to be displayed 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:

TargetFrame The name of the frame in which the LinkURL is to be activated. If this parameter is an empty string, the default is the top level window.

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.

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

For information about using aClass, see The aClass Parameter.

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