bfcf8ea77dab1e6490e17f2afbb281dac5beda2d
[jalview.git] / utils / jalviewjs / site-resources / jalview_bin_Jalview-corenamespace.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
5 <title>SwingJS test Jalview</title><meta charset="utf-8" />
6 <script src="swingjs/swingjs2.js"></script>
7 <script>
8 if (!self.SwingJS)alert('swingjs2.js was not found. It needs to be in swingjs folder in the same directory as ' + document.location.href)
9 Info = {
10   code: null,
11   main: "jalview.bin.JalviewJS2",
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   namespace: "jv"
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:10px;top:10px;width:640px;height:1200px;">
30 <div id="sysoutdiv" contentEditable="true" style="padding:5px;border:1px solid green;width:100%;height:95%;overflow:auto">
31 <div id="jv:jalviewSplash" style="position:absolute;right:5px;top:5px;z-index:1000;">
32 <img style="border-radius:50%;" src="images/jv.gif" />
33 </div>
34 </div>
35 This is System.out. <a href="javascript:testApplet._clearConsole()">clear it</a>  <a href='javascript:J2S.getProfile()'>start/stop profiling</a><br>see <a href=___j2sflags.htm>___j2sflags.htm</a> for SwingJS URL command-line options<br><a href="javascript:getClassList()">get _j2sClassList.txt</a>
36 </div>
37 </body>
38 </html>