[LON-CAPA-users] Can't hide <m>
Fri, 10 Apr 2009 06:56:24 -0400
Could you please give us more background on this? In which context are
you working, and what are you trying to achieve?
On Apr 9, 2009, at 8:36 PM, Sean Wolf wrote:
> First look at the code below:
> function showAnswer(part)
> document.getElementById(part).style.visibility = "visible";
> <input value="Show" type="button"
> <p style="visibility: hidden;" id="1">- ( $G Nm^2 * $m2 kg * $mencl
> kg ) / ( $rgs m ^ 2 ) = $Fmencl2 N</p>
> So when the "Show" button is clicked, I see the text inside of the
> <p> with id="1". However, if I put a <m> tag inside of the <p>,
> everything is visible right way. I'm guessing this is because of
> the LaTeX rendering. Is this desired functionality? If so, any
> suggestions to being able to hide an <m> tag until a button click?
> Sean Wolf
> 2400 Ford St.
> Golden, CO 80401
> (720) 897-7763