forked from yannponty/VARNA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VARNA.html
29 lines (29 loc) · 804 Bytes
/
VARNA.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
<!DOCTYPE html>
<html><title>TEST SwingJS test VARNA</title>
<head><meta charset="utf-8" />
<script src="swingjs/swingjs2.js"></script>
<script>
if (!self.SwingJS)alert('swingjs/swingjs2.js was not found')
Info = {
code: "fr.orsay.lri.varna.VARNA",
main: null,
core: "varna",
width: 850,
height: 550,
serverURL: 'http://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
j2sPath: 'swingjs/j2s',
console:'sysoutdiv',
allowjavascript: true
}
</script>
</head>
<body>
<script>
SwingJS.getApplet('testApplet', Info)
</script>
<div style="position:absolute;left:900px;top:30px;width:600px;height:300px;">
<div id=sysoutdiv style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a>
</div>
</body>
</html>