1 <script src="http://www.java.com/js/deployJava.js"></script>
2 <script src="javascript/jalview.js" language="javascript"></script>
3 <script> //deployJava.debug="true";
6 var jvapp = document.getElementById("jvapp");
7 var jvfollower = document.getElementById("jvfollower");
8 setConsole(document.getElementById("stdout"));
9 //jvapp.setSeparator(""+jvapp.getSeparator());
13 function lJvFollow() {
14 var jvapp = document.getElementById("jvapp");
15 var jvfollower = document.getElementById("jvfollower");
16 //jvfollower.setSeparator(""+jvfollower.getSeparator());
17 linkJvJmol(jvfollower);
20 <h2>JalviewLite Linked Applets Demo</h2>
21 <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.
25 code : 'jalview.bin.JalviewLite',
26 archive : '${content.jvl}',
29 mayscript : 'True', scriptable: 'True',
34 automaticScrolling : "true",
36 annotations : "plantfdx.annotations",
40 showAnnotation : "true",
44 linkLabel_1 : "EMBL-EBI Search",
45 linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
47 linkLabel_2 : "Uniprot"
49 linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
50 permissions : 'sandbox',
51 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
54 deployJava.runApplet(attributes, parameters, '1.6');
58 code : 'jalview.bin.JalviewLite',
59 archive : '${content.jvl}',
62 mayscript : 'True', scriptable: 'True',
68 annotations : "plantfdx.annotations",
69 automaticScrolling : "true",
73 showAnnotation : "true",
77 linkLabel_1 : "EMBL-EBI Search",
78 linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
80 linkLabel_2 : "Uniprot"
82 linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
83 permissions : 'sandbox',
84 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
86 deployJava.runApplet(attributes, parameters, '1.6');
89 <!-- <a href="javascript:linkJvJmol()">Click Me If you don't see any messages below</a>
92 <form name="console" id="console">
93 <textarea name="output"
94 id="stdout" rows="20" cols="80">Messages will appear here.</textarea></form>