- <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 : "EMBL-EBI Search",
- linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
- ,
- linkLabel_2 : "Uniprot"
- ,
- linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
- permissions : 'sandbox',
- 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 : "EMBL-EBI Search",
- linkUrl_1 : "http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"
- ,
- linkLabel_2 : "Uniprot",
- linkUrl_2 : "http://www.uniprot.org/uniprot/$SEQUENCE_ID$",
- permissions : 'sandbox',
- APPLICATION_URL : "http://www.jalview.org/services/launchApp"
- };
- deployJava.runApplet(attributes, parameters, '1.6');
-</script>
+ <p>The two applets below use <a href="javascript:doSubmit('jalviewLiteJs')">JalviewLite's javascript API</a> to exchange events about the currently selected region and mouse position in the alignment.
+ <a href="view-source:http://www.jalview.org/builds/develop/examples/linkedapplets_ng.html" target="_blank">View the source here to see how it has been done</a> (If the link doesn't work on your browser try going to <a href="http://www.jalview.org/builds/develop/examples/linkedapplets_ng.html">this page</a> and viewing the page source manually).</p>
+
+
+<applet
+ code="jalview.bin.JalviewLite" width="800" height="300" id="jvapp" mayscript="True" scriptable="True" archive="jalviewApplet.jar,JmolApplet-14.6.4_2016.10.26.jar,java-json.jar,json_simple-1.1.jar">
+<param name="oninit" value="lJvApp"/>
+<param name="automaticScrolling" value="true"/>
+<param name="file" value="plantfdx.fa"/>
+<param name="annotations" value="plantfdx.annotations"/>
+<param name="debug" value="true"/>
+<param name="wrap" value="false"/>
+<param name="showAnnotation" value="true"/>
+<param name="embedded" value="true"/>
+<param name="showFullId" value="false"/>
+<param name="RGB" value="F2F2FF"/>
+<param name="linkLabel_1" value="EMBL-EBI Search"/>
+<param name="linkUrl_1" value="http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"/>
+<param name="linkLabel_2" value="Uniprot"/>
+<param name="linkUrl_2" value="http://www.uniprot.org/uniprot/$SEQUENCE_ID$"/>
+<param name="permissions" value="sandbox"/>
+<param name="APPLICATION_URL" value="http://www.jalview.org/services/launchApp"/>
+</applet>
+
+
+
+
+<applet
+ code="jalview.bin.JalviewLite" width="800" height="300" id="jvfollower" mayscript="True" scriptable="True" archive="jalviewApplet.jar,JmolApplet-14.6.4_2016.10.26.jar,java-json.jar,json_simple-1.1.jar">
+<param name="oninit" value="lJvFollow"/>
+<param name="file" value="plantfdx.fa"/>
+<param name="annotations" value="plantfdx.annotations"/>
+<param name="automaticScrolling" value="true"/>
+<param name="debug" value="true"/>
+<param name="wrap" value="false"/>
+<param name="showAnnotation" value="true"/>
+<param name="embedded" value="true"/>
+<param name="showFullId" value="false"/>
+<param name="RGB" value="F2F2FF"/>
+<param name="linkLabel_1" value="EMBL-EBI Search"/>
+<param name="linkUrl_1" value="http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"/>
+<param name="linkLabel_2" value="Uniprot"/>
+<param name="linkUrl_2" value="http://www.uniprot.org/uniprot/$SEQUENCE_ID$"/>
+<param name="permissions" value="sandbox"/>
+<param name="APPLICATION_URL" value="http://www.jalview.org/services/launchApp"/>
+</applet>
+
+