-
Notifications
You must be signed in to change notification settings - Fork 1
/
EditorApplet.html
42 lines (36 loc) · 1.71 KB
/
EditorApplet.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">
<title>The JChemPaint Applet Demo</title>
</head>
<body bgcolor="#ffffff" link="#000099">
<h2>
The JChemPaint Applet-3.3-1210 on github
</h2>
<p>(Javascript messaging may not work with an icedtea-web JRE plugin)</p>
<applet code="org.openscience.jchempaint.applet.JChemPaintEditorApplet" archive="EditorApplet_files/jchempaint-applet-editor.jar,EditorApplet_files/jchempaint-applet-core.jar" name="Editor" height="700" width="900">
<!--param name="load" value="applettests/rdemo.mol"-->
<param name="impliciths" value="true">
<param name="codebase" value=".">
<!--param name="codebase_lookup" value="false"-->
<param name="onLoadTarget" value="statusFrame">
<param name="image" value="hourglass.gif">
<param name="boxborder" value="false">
<param name="centerimage" value="true">
</applet>
<br><br>
<a href="javascript:alert(document.Editor.getMolFile())">show mol file</a>
<a href="javascript:alert(document.Editor.getSmiles())">show smiles</a>
<a href="javascript:alert(document.Editor.getSmilesChiral())">show stereo smiles</a>
<a href="javascript:document.Editor.makeHydrogensExplicit()">Make hydrogens explicit</a>
<a href="javascript:document.Editor.clear()">clear</a>
<a href="javascript:document.Editor.setSmiles('CCCC')">insert CCCC (as SMILES)</a>
<a href="javascript:document.Editor.selectAtom(0)">Select first atom </a>
<blockquote>
<hr>
<br>
<a href="https://github.com/JChemPaint/jchempaint/issues?state=open">Report bugs/features</a><br>
<a href="http://jchempaint.github.com/">Applet web site</a><br>
<p>Built by rwst</p>
</blockquote></body></html>