-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (58 loc) · 2.41 KB
/
index.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
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
73
74
75
76
<!DOCTYPE html>
<html>
<head>
<title>WebGL Demo</title>
<meta name="description" content="Interactive 3D molecule viewer in HTML5. Works with PDB/MOL/SDF formats." />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link href="css/canvasmol.css" rel="stylesheet" type="text/css" />
<!--[if IE]><link href="css/ie.css" type="text/css" rel="stylesheet"><![endif]-->
<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="js/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>
<script src="js/jquery.mousewheel.js" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="js/flash.js" type="text/javascript"></script>
<script src="js/flashmol.js" type="text/javascript"></script>
<![endif]-->
<script src="js/canvasmol.js" type="text/javascript"></script>
</head>
<body>
<div id="header">
<h1><a href="#">CanvasMol</a></h1>
</div>
<div id="mlist" class="widget shadow drag">
<ul id="mitems"></ul>
</div>
<div id="molecules"></div>
<div id="colors" class="widget shadow drag"><span class="close">X</span></div>
<br class="clr" />
<div id="info" class="widget shadow drag">
<span class="close">X</span>
<p>Check example molecules.
<p>Import PDB/SDF/MOL files.
<p>Export to PNG image.
<br /><br />
<p>Drag widgets around.
<p>Drag molecule to rotate.
<p>Mouse wheel to zoom.
<p>Toggle automatic rotation around X,Y,Z axis.
<p>Try different rendering options.
<br /><br />
<p class="warning">Warning: complex molecules are very slow, your browser may freeze occasionally if you enable
autorotation.
<br /><br />
</div>
<div id="import" class="widget shadow drag">
<span class="close">X</span>
<form action="#"><textarea
id="pdbtext">Paste here PDB / SDF / MOL molecule definition and click Import molecule button</textarea>
</form>
<div class="xbutton" id="b_import">Import molecule</div>
</div>
<div id="touchcontrols" class="widget shadow drag">
<span class="close">X</span>
<p>Show molecule rotation buttons for touchscreen devices like iPhone / iPad.
<div class="xbutton" id="b_controls">Toggle controls</div>
</div>
<div class="shadow widget drag" id="log"></div>
</body>
</html>