fMath for Java is a FREE solution to display and edit mathematics on web pages using Java components.

1.3 <maction> -- Bind Action to Sub-Expression            What is implemented from MathML standard ?

Examples:



Description:

This element accepts any number of sub-expressions as arguments and the type of action that should happen is controlled by the actiontype attribute

Implemented action when click:

<maction actiontype="toggle" selection="positive-integer" > (first expression) (second expression)...
</maction>                  

The renderer alternately display the selected subexpression, cycling through them when there is a click on the selected subexpression. Each click increments the selection value, wrapping back to 1 when it reaches the last child.

<maction actiontype="highlight" color="red" background="yellow"> expression
</maction>                  

When the formula is clicked change the color and background.

Implemented Attributes from MathML:

Name Values Default
actiontype Specifies what should happen for this element
selection Specifies which child should be used for viewing. Its value should be between 1 and the number of children of the element.

Attributes shared by all MathML Elements:

Name Values Default
mathvariant normal | bold | italic | bold-italic | double-struck | bold-fraktur | script | bold-script | fraktur | sans-serif | bold-sans-serif | sans-serif-italic | sans-serif-bold-italic | monospace normal (except for mi)
mathsize number | small | normal | big inherited
mathcolor #rrggbb | html-color-name inherited
mathbackground #rrggbb | html-color-name inherited
href URI

CSS style attribute:

Name Values
style font-family:serif; font-size:20pt; font-weight:bold; font-style:italic; color:#rrggbb ; background:#rrggbb;

fMath attributes shared by all MathML Elements:

Name Values Default
mathvariant bold-double-struck | double-struck-italic | double-struck-bold-italic | circle | bold-circle | circle-italic | circle-bold-italic normal
border number 0
bordercolor #rrggbb | html-color-name black
shiftX number 0
shiftY number 0

html-color-name = "aqua", "black", "blue", "fuchsia", "gray", "green", "lime", "maroon", "navy", "olive", "purple", "red", "silver", "teal", "white", "yellow"

`


www.learn-math.info | www.apprendre-math.info | www.aprender-mat.info | www.invata-mate.info
Designed by Diana Alexandru
free components MathML flex GWT LaTeX Editor Air plugin MathML flash math Mathematics Equation Widget Mobile flash LaTeX Mathematics FREE Apple iOS BlackBerry Tablet OS Android iPad iPhone BlackBerry Playbook Google Nexus HTC Motorola Droid Samsung Galaxy