Up: The WebEQ Math Viewer Applet

Getting Started with the Math Viewer

  1. Download and install the WebEQ Math Viewer applet in your browser if you haven't already done so. The applet is freely available from http://www.mathtype.com/dl/wbqviewer.

  2. Open the file applet.html in the templates directory of your WebEQ installation with your favorite text editor.

  3. Open the same file in your Web browser, so that you can see the effects of the changes you make. (Make sure Java is enabled in your browser.) Initially, the browser should display the equation 4x + 5 = 9 against a peach-colored background.

  4. In the source file, change the HEIGHT and WIDTH dimensions in the applet tag. Reload the applet in your browser, and notice the effect. (Note that sometimes you will have to hold down SHIFT when you click "Reload" in order to really have the browser reload the page, as opposed to using the cached copy of the original page.)

  5. Add the lines
    <param name="size" value="36">
    <param name="controls" value="false">
    
    immediately after the first complete tag of the applet call. That is, add it after the tag beginning "<applet ..." and ending with ">" (even if this now occupies more than one physical line of the file). Again, reload the equation in your browser to observe the effect.

  6. Now edit the equation source. Replace
    4x + 5 = 9
    with
    \toggle{4x + 5 = 9}{4x = 4}{Click to simplify}{Go back}
    This is the WebTeX command for toggling between these two expressions. After you have made the change, look at the page again in your browser. Note how the "Click to simplify" and "Go back" messages are displayed on the status line.

  7. To get even fancier, you can try a nested toggle. Once again, edit the equation source:
    \toggle{4x + 5 = 9}
    {\implies  \toggle{4x = 4}{x=1}{Click to solve}{Go back}}
    {Click to simplify}{Go back}
    
    Try this in your browser. What do you expect to see?


[HOME] WebEQ 2.5 Documentation Table of Contents

Created: Aug 08 1997 --- Last modified: Wed Sep 13 14:21:00 2000
Copyright © 1997-2000 Design Science, Inc. All rights reserved.