Previous ION Script User's Guide: ION Script Tag Reference Next

EVENT_DECL

The EVENT_DECL tag declares an event. When the user clicks a button, image, or link with an assigned event, the page defined by the event is processed and displayed. The event name is used as the value of the EVENT attribute of the ION_BUTTON, ION_IMAGE, and ION_LINK tags.


Note
The EVENT_DECL tag must reside between the <EVENTS> and </EVENTS> tags.

Syntax

<EVENT_DECL
NAME="name{A-Z, a-z, 0-9, and _ only}"
ACTION="url" />

Attributes

ACTION

Defines the URL of the document to be displayed when the event occurs. See Specifying URLs for more on specifying valid URLs

NAME

Defines the name of the event. This name is used as the value for the EVENT attribute of the ION_BUTTON, ION_IMAGE, and ION_LINK tags. The value specified for the NAME attribute can only contain the characters A-Z, a-z, 0-9 or _, and cannot be the name 'page'.

HTML Mapping

The EVENT_DECL tag does not produce HTML and therefore does not support any additional attributes.

  IDL Online Help (March 06, 2007)