I'm finding repeated cases where use of jsMath mode results in the top option of a multiple choice problem not being selectable. Sample code that might result in this behavior is shown below.
$pr = new_multiple_choice(); $pr->qa( '\(\displaystyle {1\over s} - {2\over st} =\)', ' \(\displaystyle{t-2\over st}\) '); $pr->extra( '\(-\displaystyle{1\over st}\)', '\(\displaystyle{1\over t}\)', '\(\displaystyle{2-t\over st}\)', '\(\displaystyle{-1\over s-st}\)' );
It's worth noting that (a) this doesn't occur with MathJax, or with images mode, and (b) it is possible to click into a lower option and then use the arrow keys to move the selection up to the first option. My interpretation is that the equation (font image files) is overlapping just enough with the top radio button that the browser is unable to distinguish the click as being on the radio button and instead thinks it's a click on the equation. This is supported by my ability to get a jsMath pop-up to appear by double clicking.
It may or may not be related that this is occurring in a gateway_quiz type assignment. I should perhaps add that I don't think this is a function of the use of \over
in place of \frac
, but could be proved wrong on that.
Is there an obvious solution or work-around for this? I tried going to MathJax, but that resulted in far more complaints about display of [math]
in place of the equations. For now I've reverted to images mode (sigh).
Thanks,
Gavin