version 1.181, 2008/09/25 17:44:11
|
version 1.182, 2008/10/07 10:13:58
|
Line 102 can be used to paste LaTeX into a textar
|
Line 102 can be used to paste LaTeX into a textar
|
=cut |
=cut |
|
|
sub dragmath_js { |
sub dragmath_js { |
|
my ($popup) = @_; |
return <<ENDDRAGMATHJS; |
return <<ENDDRAGMATHJS; |
<script type="text/javascript"> |
<script type="text/javascript"> |
function mathedit(textarea, doc) { |
function mathedit(textarea, doc) { |
targetEntry = textarea; |
targetEntry = textarea; |
targetDoc = doc; |
targetDoc = doc; |
newwin = window.open("/adm/dragmath/applet/EditMathPopup.html","","width=565,height=500,resizable"); |
newwin = window.open("/adm/dragmath/applet/$popup.html","","width=565,height=500,resizable"); |
} |
} |
</script> |
</script> |
|
|
ENDDRAGMATHJS |
ENDDRAGMATHJS |
} |
} |
|
|
|
|
############################################## |
############################################## |
############################################## |
############################################## |
|
|