JAL-4059 Fix up Jsmol calls and delete html files from JS zips in build.gradle. ...
[jalview.git] / utils / jalviewjs / site-resources / jalview_bin_JalviewJS_core.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>SwingJS test JalviewJS2</title><meta charset="utf-8" />
5 <script src="swingjs/swingjs2.js"></script>
6 <script>
7 if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)
8 Info = {
9   code: null,
10   main: "jalview.bin.JalviewJS2",
11 //  core: "NONE",
12         core:"_jalview",
13         width: 850,
14         height: 550,
15   readyFunction: null,
16         serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
17         j2sPath: 'swingjs/j2s',
18         console:'sysoutdiv',
19         allowjavascript: true,
20   querystringnamespace: ""
21 }
22 </script>
23 </head>
24 <body>
25 <script>
26 SwingJS.getApplet('testApplet', Info)
27 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
28 </script>
29 <div style="position:absolute;left:900px;top:30px;width:600px;height:300px;">
30 <div id="sysoutdiv" contenteditable="true" style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
31 This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a> <br>Add ?j2snocore to URL to see full class list; ?j2sdebug to use uncompressed j2s/core files <br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
32 </div>
33 </body>
34 </html>