-<div id="content" class="content">
- <strong>JalviewLite Linked Applets Demo<br></strong>
- <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.
- </p>
- <script>
- var attributes = {
- code : 'jalview.bin.JalviewLite',
- archive : 'jalviewApplet.jar',
- width : 800,
- height : 300,
- mayscript : 'True', scriptable: 'True',
- id : 'jvapp'
- };
- var parameters = {
- oninit : "lJvApp",
- automaticScrolling : "true",
- file : "plantfdx.fa",
- annotations : "plantfdx.annotations",
- debug : "true",
- wrap : "false",
- // separator : "^",
- showAnnotation : "true",
- embedded : "true",
- showFullId : "false",
- RGB : "F2F2FF",
- linkLabel_1 : "SRS",
- linkUrl_1 : "http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[uniprot-all:$SEQUENCE_ID$]+-vn+2"
-
- ,
- linkLabel_2 : "Uniprot"
-
- ,
- linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
- permissions : 'all-permissions',
- APPLICATION_URL : "http://www.jalview.org/services/launchApp"
- };
-
- deployJava.runApplet(attributes, parameters, '1.6');
-</script>
-<script>
- var attributes = {
- code : 'jalview.bin.JalviewLite',
- archive : 'jalviewApplet.jar',
- width : 800,
- height : 300,
- mayscript : 'True', scriptable: 'True',
- id : "jvfollower"
- };
- var parameters = {
- oninit : "lJvFollow",
- file : "plantfdx.fa",
- annotations : "plantfdx.annotations",
- automaticScrolling : "true",
- debug : "true",
- wrap : "false",
- // separator : "^",
- showAnnotation : "true",
- embedded : "true",
- showFullId : "false",
- RGB : "F2F2FF",
- linkLabel_1 : "SRS",
- linkUrl_1 : "http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[uniprot-all:$SEQUENCE_ID$]+-vn+2"
-
- ,
- linkLabel_2 : "Uniprot"
-
- ,
- linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
- permissions : 'all-permissions',
- APPLICATION_URL : "http://www.jalview.org/services/launchApp"
- };
- deployJava.runApplet(attributes, parameters, '1.6');
-</script>