EVENTVTML 2

EVENT defines an event for which an event handler can be written in a scripting language.

The following subjects are covered in this document:


Related information about VTML and WIZML:

Tutorial
The Visual Tool Markup Language (VTML)
Reference
VTML reference - overview
Context
ATTRIBUTES Section
Related tags
ATTRIB

top

Tools

EVENT plays a role in the following VTML-driven tools:

  1. Tag Inspector

top


Location

The EVENT tag can occur only inside the ATTRIBUTES section.

top


Function

The EVENT tag has a function only for Tag Inspector: None of the other VTML-driven tools can do anything with it. Events defined by this tag are listed as a separate category; when editing the event, you can choose between a JavaScript or VBScript event handler. After that, a name can be entered for the function that is going to be the event handler for the event, and (if necessary) a SCRIPT tag is created in the HEAD section of the document with an empty function stub for the named event handler.

JavaScript event names are entered into the tag with correct capitalization, events handled by other scripts are entered in lowercase.

top


Syntax and Attributes

<EVENT .../>
NAME The name of the event

top