Return to chemresponse.pm CVS log | Up to [LON-CAPA] / loncom / homework |
version 1.53, 2005/05/25 21:45:07 | version 1.54, 2005/05/26 20:49:23 |
---|---|
Line 124 CHEMPAGE | Line 124 CHEMPAGE |
my $nothing=&Apache::lonhtmlcommon::javascript_nothing(); | my $nothing=&Apache::lonhtmlcommon::javascript_nothing(); |
my $docopen=&Apache::lonhtmlcommon::javascript_docopen(); | my $docopen=&Apache::lonhtmlcommon::javascript_docopen(); |
my $result=<<CHEMINPUT; | my $result=<<CHEMINPUT; |
<input type="button" value="Draw Molecule" onclick="javascript:editor=window.open('$nothing','jmeedit','width=500,height=500,menubar=yes,scrollbars=no,resizable=yes');editor.$docopen;editor.document.write('$body');editor.document.close();editor.focus()" /> | <input type="button" value="Draw Molecule" onclick="javascript:editor=window.open($nothing,'jmeedit','width=500,height=500,menubar=yes,scrollbars=no,resizable=yes');editor.$docopen;editor.document.write('$body');editor.document.close();editor.focus()" /> |
CHEMINPUT | CHEMINPUT |
return $result; | return $result; |
} | } |