1 <script src="javascript/deployJava.js"></script>
2 <script src="javascript/jshashtable-2.1.js" language="javascript"></script>
3 <script src="javascript/jalview.js" language="javascript"></script>
4 <script> //deployJava.debug="true";
7 var jvapp = document.getElementById("jvapp");
8 var jvfollower = document.getElementById("jvfollower");
9 setConsole(document.getElementById("stdout"));
10 //jvapp.setSeparator(""+jvapp.getSeparator());
14 function lJvFollow() {
15 var jvapp = document.getElementById("jvapp");
16 var jvfollower = document.getElementById("jvfollower");
17 //jvfollower.setSeparator(""+jvfollower.getSeparator());
18 linkJvJmol(jvfollower);
21 <h2>JalviewLite Linked Applets Demo</h2>
22 <p>The two applets below use <a href="jalviewLiteJs.html">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
26 code : 'jalview.bin.JalviewLite',
27 archive : '${content.jvl},${content.jmol}',
30 mayscript : 'True', scriptable: 'True',
35 automaticScrolling : "true",
37 annotations : "plantfdx.annotations",
41 showAnnotation : "true",
45 linkLabel_1 : "EMBL-EBI Search",
46 linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
48 linkLabel_2 : "Uniprot"
50 linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
51 permissions : 'sandbox',
52 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
55 deployJava.runApplet(attributes, parameters, '1.6');
59 code : 'jalview.bin.JalviewLite',
60 archive : '${content.jvl},${content.jmol}',
63 mayscript : 'True', scriptable: 'True',
69 annotations : "plantfdx.annotations",
70 automaticScrolling : "true",
74 showAnnotation : "true",
78 linkLabel_1 : "EMBL-EBI Search",
79 linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
81 linkLabel_2 : "Uniprot"
83 linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
84 permissions : 'sandbox',
85 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
87 deployJava.runApplet(attributes, parameters, '1.6');
90 <!-- <a href="javascript:linkJvJmol()">Click Me If you don't see any messages below</a>
93 <form name="console" id="console">
94 <textarea name="output"
95 id="stdout" rows="20" cols="80">Messages will appear here.</textarea></form>