axImage

Description

axImage allows an image to be inserted into the 5250 screen.

Usability

Context

Supported

Input screen fields

No

Output screen fields

No

Input subfile fields

No

Output subfile fields

No

New screen elements

Yes

Properties

Name

Description and Comments

JavaScript

Shipped default

altImageName

The filename of the alternative image file.

No

Blank

altImagePath

Path to locate the alternative image file.

No

ts/screens/<private folder>

altText

Sets the alternate text of the image.

No

‘no image’

imageName

Name of the image file

No

Blank

imagePath

Path to locate the image file

No

ts/screens/<private folder>

onClick

Event that fires when clicking on the image.

Yes

Blank

onMouseOut

Event that fires when the mouse pointer moves out of the image.

Yes

Blank

onMouseOver

Event that fires when the mouse is hovered on the image.

Yes

Blank

enabled

Indicates whether this element is enabled.

TS2 only.

Yes. Must return a Boolean.

True.

style

CSS to apply to the image.

Yes. Must return a valid style object.

Blank

Notes, Comments and Warnings

The properties - altImageName, altImagePath and altText of this eXtension is only available in the advanced terminal emulator (TS2).

The default display of image extension when added to the screen in TS-2 is as follows:

Image

When the image file specified in the imagePath and imageName properties failed to load, this extension will load the one specified in the altImageName and altImagePath properties.

If both the image files failed to load, the text set in altText property will be displayed instead.

See Also

Images in Tutorial 3 - Advanced Screen Enhancement

Administrators

Legal Mentions

aXes is brought to you by:

LANSA

Serving the IBM i community for 30 years.