JAL-3210 replacing j11lib/Jmol-14.29.17-no_netscape.jar with unsigned version. Tempor...
[jalview.git] / utils / jalviewjs / site-resources / jalview_bin_JalviewJS_embedded_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   readyFunction: null,
14         serverURL: 'https://chemapps.stolaf.edu/jmol/jsmol/php/jsmol.php',
15         j2sPath: 'swingjs/j2s',
16         console:'sysoutdiv',
17         allowjavascript: true,
18         
19         //Jalview-specific:
20         // note that desktop-frame-div has been set to display:none
21         jalview_SCREEN_WIDTH: 100, // desktop width -- 0 to hide
22         jalview_SCREEN_HEIGHT: 70,  // desktop height -- 0 to hide
23         jalview_SCREEN_X: 10,
24         jalview_SCREEN_Y: 10,
25         jalview_EMBEDDED: true
26         
27 }
28 </script>
29 </head>
30 <body>
31 <table><tr><td>
32 <!-- note that the desktop must have a z-index ge 1000 because it is the root of all popups -->
33 <div id="jalview-desktop-div" style="z-index:1000;position:relative;top:0px;left:0px;width:300px;height:70px">desktop here</div>
34 </td></tr><tr><td>
35 <div id="jalview-alignment-div" style="position:relative;top:0px;left:0px;width:600px;height:400px">
36 The alignment frame will appear here momentarily...
37 </div>
38 </td></tr><tr>
39 <td>
40 <div id="jalview-structureviewer-div" style="position:relative;top:0px;left:0px;width:400px;height:400px">
41 jalview-structureviewer-div
42 </div>
43 </td>
44 <td>
45 <div id="jalview-tree-div" style="position:relative;top:0px;left:0px;width:400px;height:400px">
46 jalview-tree-div
47 </div>
48 </td>
49 <td>
50 <div id="jalview-pca-div" style="position:relative;top:0px;left:0px;width:400px;height:400px">
51 jalview-pca-div
52 </div>
53 </td>
54
55 </tr></table>
56
57
58 <script>
59 SwingJS.getApplet('testApplet', Info)
60 getClassList = function(){J2S._saveFile('_j2sclasslist.txt', Clazz.ClassFilesLoaded.sort().join('\n'))}
61 </script>
62
63
64 <div style="position:absolute;left:900px;top:30px;width:600px;height:300px;">
65 <div id="sysoutdiv" style="border:1px solid green;width:100%;height:95%;overflow:auto"></div>
66 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>
67 </div>
68 </body>
69 </html>