version 1.2, 2008/07/01 11:02:49
|
version 1.4, 2013/12/28 23:15:35
|
Line 1
|
Line 1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html>
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<head>
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>DragMath Formula Editor</title>
|
|
|
<title>DragMath Equation Editor</title>
|
<script type="text/javascript">
|
|
// <![CDATA[
|
<script>
|
|
function insertAtCursor(doc, myField, myValue) {
|
function insertAtCursor(doc, myField, myValue) {
|
//IE support
|
//IE support
|
if (doc.selection) {
|
if (doc.selection) {
|
Line 30 function renderLatex() {
|
Line 31 function renderLatex() {
|
+ ans
|
+ ans
|
+ '$</m>';
|
+ '$</m>';
|
|
|
// var target = document.getElementById('outputID');
|
|
// var doc = target.contentDocument;
|
|
|
|
var doc = opener.targetDoc
|
var doc = opener.targetDoc
|
var target = doc.getElementById(opener.targetEntry);
|
var target = doc.getElementById(opener.targetEntry);
|
insertAtCursor(doc, target, source);
|
insertAtCursor(doc, target, source);
|
|
|
window.close();
|
window.close();
|
|
|
|
|
}
|
}
|
|
// ]]>
|
</script>
|
</script>
|
|
|
</head>
|
</head>
|
<body>
|
<body>
|
|
|
<div id="mainContent">
|
<div id="mainContent" style="text-align:left; font-family:arial,sans-serif; font-size:large; color:#000080">
|
|
<span style="font-weight:bold;">DragMath Latex Equation Editor</span></div>
|
|
<br /><br />
|
<DIV align=left><FONT face=Arial color=#000080
|
|
size=6><STRONG>DragMath Latex Equation Editor</STRONG></FONT></DIV>
|
<applet name="DragMath" codebase="applet" code="Display.MainApplet.class" archive="DragMath.jar" width="540" height="333">
|
<br><br>
|
<param name="language" value="en" />
|
|
<param name="showOutputToolBar" value="false" />
|
<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>
|
<param name="outputFormat" value="Latex" />
|
<param name=language value="en">
|
|
<param name=showOutputToolBar value="false">
|
|
<param name=outputFormat value="Latex">
|
|
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>
|
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>
|
</applet >
|
</applet >
|
<br>
|
<br />
|
|
|
<form>
|
<form action="">
|
<input type='button' value='Render Latex' onclick='renderLatex(); return true;' />
|
<input type='button' value='Render Latex' onclick='renderLatex(); return true;' />
|
</form>
|
</form>
|
|
|