-
Notifications
You must be signed in to change notification settings - Fork 35
/
ViewerApplet.html
executable file
·45 lines (38 loc) · 1.45 KB
/
ViewerApplet.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>
<title>The JChemPaint Applet Demo</title>
</head>
<body BGCOLOR="#ffffff" LINK="#000099">
<h2>
The JChemPaint Applet (detachable with double click)
</h2>
<applet name="Viewer" code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" archive="dist/jar/jchempaint-applet-core.jar"
width="600" height="500">
<param name="load" value="applettests/big.mol">
<!--param name="smiles" value="CCCCC(=O)CCCCN"-->
<param name="atomNumbersVisible" value="true">
<param name="background" value="12632256">
<param name="detachable" value="true">
<!--param name="tooltips" value="30|test1|31|test2"-->
<param name="scrollbars" value="true">
</applet>
<a href="javascript:document.Viewer.selectAtom(6)">select atom 6</a>
<a href="javascript:document.Viewer.selectAtom(3)">select atom 3</a>
<a href="javascript:alert(document.Viewer.getMolFile())">show mol file</a>
<hr>
<br>
<h2>
The JChemPaint Applet (detachable editor with double click)
</h2>
<applet name="Viewer2" code="org.openscience.jchempaint.applet.JChemPaintViewerApplet" archive="dist/jar/jchempaint-applet-core.jar"
width="600" height="500">
<param name="load" value="applettests/big.mol">
<!--param name="smiles" value="CCCCC(=O)CCCCN"-->
<param name="atomNumbersVisible" value="true">
<param name="background" value="12632256">
<param name="detachableeditor" value="true">
<!--param name="tooltips" value="30|test1|31|test2"-->
<param name="scrollbars" value="true">
</applet>
</body>
</html>