(Excerpt from "The MathML Handbook" by Pavi Sandhu)
The maction element is used to associate interactive actions with specific parts of a MathML expression. This element is provided as a means of hooking up interactivity features implemented in a specific application to a MathML expression. Hence, the type of actions supported, if any, depend on the rendering application.
This element accepts the two attributes shown in the following table.
Table: Attributes of maction.
|actiontype||Depends on application.||Depends on application.|
These attributes have the following meaning:
- selection: is an integer that identifies one of the arguments of the maction element. The value 1 refers to the first argument, 2 to the second argument, and so on. The purpose of this attribute is to provide a way to refer to subexpressions of the <maction> element; for example, in cases where the intended action is to toggle between different subexpressions.
- actiontype: specifies the action to be performed. The allowed values of this attribute are not defined by the MathML specification. Instead, each MathML application is expected to define its own values, depending on the type of actions it supports. Some examples of possible values that may be supported are: toggle, statusline, highlight, and tooltip.
|<< back||next >>|
Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.
CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America