Class | Description |
---|---|
FormatSelection | selects the format in which the MathML will be displayed |
selects the MathML format and allows other classes to check it
Displays an interface for the user to manually select their math format
Displaying this menu gives the website visitor the option to set a persistent preference for how MathML is served to their browser. The burden is on the author to call this function at the appropriate point in their page. The selection menu will then be inserted there. The author can also get the selection menu as a string, by setting the $return parameter to true.
The selection menu will give the options of "Guide Me" or "Try Auto-Fix." The "Try Auto-Fix" option will simply switch their math format to images, and set a persistent preference for the HTML+Images format. The "Guide Me" option will open a window with the page at FormatSelection/selection_details.html, which describes MathML and gives visitors an interface for selecting their math format.
However, the "Try Auto-Fix" option will not appear if:
<div id="umm_format_selection_menu"> <span id="umm_format_selection_menu_title"> Problems with equation display? </span> <br /> <span style="margin-right: 1em; cursor: pointer; cursor: hand; color:blue; text-decoration: underline;" id="umm_format_selection_menu_auto_fix"> <a onclick="MathMLAuto({on_images},'{umm_directory}/FormatSelection/selection_details.html')">Try auto-fix</a> </span> <span style="cursor: pointer; cursor: hand; color: blue; text-decoration: underline;" id="umm_format_selection_menu_guide_me"> <a onclick="MathMLDetails('{details_file}/FormatSelection/selection_details.html')">Guide me</a> </span> </div>
With the exception that
<span style="margin-right: 1em; cursor: pointer; cursor: hand; color:blue; text-decoration: underline;"> <a onclick="MathMLAuto({on_images},\'{details_file}\')">Try auto-fix</a> </span>
may not be included, as described above.
Documentation generated on Fri, 21 Jul 2006 10:44:31 -0500 by phpDocumentor 1.3.0RC6