-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlite.htm
More file actions
72 lines (55 loc) · 1.59 KB
/
lite.htm
File metadata and controls
72 lines (55 loc) · 1.59 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<title>Super-Lightweight Jmol Testing</title>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="JSmol.lite.nojq.js"></script>
<!--
Note that this version of JSmol.lite.nojq.js does not include jQuery.
You must provide that yourself, as has been done here.
If you aren't using jQuery for anything else on your page, you can
just use this one library:
<script type="text/javascript" src="JSmol.lite.js"></script>
If you are a developer and want to work with the code, use these instead:
<script type="text/javascript" src="jquery/jquery.js"></script>
<script type="text/javascript" src="js/JSmoljQueryExt.js"></script>
<script type="text/javascript" src="js/JSmolCore.js"></script>
<script type="text/javascript" src="js/JSmolTM.js"></script>
-->
<script type="text/javascript">
var Info;
;(function() {
Info = {
width: 500,
height: 500,
debug: false,
color: "0xC0C0C0",
addSelectionOptions: true,
serverURL: "https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php",
use: "HTML5",
readyFunction: null,
defaultModel: ":dopamine", // PubChem -- use $ for NCI
bondWidth: 4,
zoomScaling: 1.5,
pinchScaling: 2.0,
mouseDragFactor: 0.5,
touchDragFactor: 0.15,
multipleBondSpacing: 4,
spinRateX: 0.2,
spinRateY: 0.5,
spinFPS: 20,
spin:true,
debug: false
}
})();
</script>
</head>
<body>
<a href="javascript:jmol.spin(true)">spin ON</a> <a href="javascript:jmol.spin(false)">spin OFF</a>
<br>
<script>
Jmol.getTMApplet("jmol", Info)
</script>
</body>
</html>