maction
The maction element provides a mechanism for binding actions to expressions, and always has an actiontype attribute applied. These attributes may be used within MathFlow for specific maction capability when displayed with MathPlayer:
Attribute
|
Description
|
Values
|
dsi:background
|
Fills the expression background with the specified color.
|
rgb | #rrggbb | html-color-name
|
dsi:color
|
Expression foreground color.
|
rgb | #rrggbb | html-color-name
|
dsi:backgroundstyle
|
Depending on its value, will highlight the expression either by filling its background with color specified by the dsi:background attribute, or by drawing a dsi:background-colored frame around it.
|
fill | frame
|
dsi:href
|
Provides capability to load a web page upon clicking an expression covered by maction.
|
URL
|
Examples:
- Upon mouseover, colors the expression red and draws a blue frame around it.
<maction dsi:backgroundstyle='frame' dsi:background='blue' dsi:color='red' actiontype='highlight'> - Upon clicking the expression, loads the specified URL in the browser. Note that http:// is required.
<maction dsi:href='http://google.com' actiontype='link'>
|