-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsme.htm
42 lines (36 loc) · 973 Bytes
/
jsme.htm
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
<!DOCTYPE html>
<html>
<head>
<title>Jmol/JME Demo</title>
<meta charset="utf-8" />
<script type="text/javascript" src="JSmol.min.js"></script>
<script type="text/javascript" src="js/JSmolJME.js"></script>
<script type="text/javascript" language="javascript" src="jsme/jsme/jsme.nocache.js"></script>
<script type="text/javascript">
//Jmol._debugCode = true;//(s.indexOf("debugcode") >= 0);
var jme = "jme";
var JMEInfo = {
use: "HTML5"
,visible: true
,divId: "jmediv"
,options : "nohydrogens;autoez;nocanonize;removehs"
//,jarPath: "jme",
//,jarFile: "JME.jar"
//optional parameters
//,"jme" : startingStructure
}
Jmol.setGrabberOptions([[":", "PubChem"]])
//Jmol.setGrabberOptions([["$", "NCI"]])
</script>
</head>
<body>
<table width=1000 cellpadding=10>
<tr>
<td><div id="jmediv" style="position:relative;width:350px;height:300px;"></div></td>
<script>
Jmol.getJMEApplet("jme", JMEInfo);
</script>
</td>
</tr></table>
</body>
</html>