Annotation of loncom/html/adm/dragmath/applet/Latex.html, revision 1.1

1.1     ! www         1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
        !             2: <html>
        !             3: <head>
        !             4: 
        !             5: <title>DragMath Latex Example</title>
        !             6: 
        !             7: <script>
        !             8: function renderLatex() {
        !             9:   var ans = document.DragMath.getMathExpression();  
        !            10:   var source = '<html>'
        !            11:          + '<body>'
        !            12:          + '<h4>Latex Syntax: '
        !            13:          + ans
        !            14:          + '</h4>'
        !            15:          + '<applet code="HotEqn.class" codebase="HotEqn" archive="HotEqn.jar" height="300" width="600" name="my equation">'
        !            16:          + '<param name="equation" value="'	
        !            17:          + ans
        !            18:          + '"/>'
        !            19:          + '</applet>'
        !            20:          + '</body>'
        !            21:          + '</html>'
        !            22:          + '';
        !            23: 
        !            24:   var target = document.getElementById('outputID');
        !            25:     var doc = target.contentDocument;
        !            26:         if (doc == undefined || doc == null)
        !            27:             doc = target.contentWindow.document;
        !            28:   doc.open();
        !            29:   doc.write(source);
        !            30:   doc.close();
        !            31: 
        !            32:  
        !            33: }
        !            34: </script>
        !            35: 
        !            36: </head>
        !            37: <body>
        !            38: 
        !            39: <div id="mainContent">
        !            40: 
        !            41: 
        !            42: <DIV align=left><FONT face=Arial color=#000080 
        !            43: size=6><STRONG>DragMath Latex Example</STRONG></FONT></DIV>
        !            44: <br><br>
        !            45: 
        !            46: <applet name="DragMath" codebase="classes" code="Display.MainApplet.class" archive="Project.jar,AbsoluteLayout.jar,swing-layout-1.0.jar,jdom.jar,jep.jar" width=540 height=333>
        !            47: <param name=language value="en">
        !            48: <param name=showOutputToolBar value="false">
        !            49: <param name=outputFormat value="Latex">
        !            50: To use this page you need a Java-enabled browser. Download the latest Java plug-in from <a href="http://www.java.com">Java.com</a>
        !            51: </applet >
        !            52: <br>
        !            53: 
        !            54: <form>
        !            55: <input type='button' value='Render Latex' onclick='renderLatex(); return true;' />
        !            56: </form>
        !            57: 
        !            58: <H2>Latex Rendering:</H2>
        !            59: 
        !            60: <iframe id='outputID' src='' width='98%' height='150'>
        !            61: </iframe>
        !            62: 
        !            63: </div>
        !            64: <br>
        !            65: Latex rendering performed by freeware Java applet <a href="http://www.atp.ruhr-uni-bochum.de/VCLab/software/HotEqn/HotEqn.html">HotEqn </a>
        !            66: </body>
        !            67: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>