2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors
5 * This file is part of Jalview.
7 * Jalview is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11 * Jalview is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 * PURPOSE. See the GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
17 * The Jalview Authors are detailed in the 'AUTHORS' file.
20 <div id="view_decorated" name="view_decorated" style="margin:8px; padding:10px; border: 2px solid red; text-align:center; display:none;"><b>Click <a href="index.html#linkedapplets_ng"> here</a> to view decorated page</b></div>
22 <!-- boiler plate link to alternate demopage -->
23 <div style="width: 100%">
24 <div style="width:35%; align:left; float:right;">
33 <!-- content template start -->
35 <h2>JalviewLite Linked Applets Demo</h2>
36 <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.
37 <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>
41 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">
42 <param name="oninit" value="lJvApp"/>
43 <param name="automaticScrolling" value="true"/>
44 <param name="file" value="plantfdx.fa"/>
45 <param name="annotations" value="plantfdx.annotations"/>
46 <param name="debug" value="true"/>
47 <param name="wrap" value="false"/>
48 <param name="showAnnotation" value="true"/>
49 <param name="embedded" value="true"/>
50 <param name="showFullId" value="false"/>
51 <param name="RGB" value="F2F2FF"/>
52 <param name="linkLabel_1" value="EMBL-EBI Search"/>
53 <param name="linkUrl_1" value="http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"/>
54 <param name="linkLabel_2" value="Uniprot"/>
55 <param name="linkUrl_2" value="http://www.uniprot.org/uniprot/$SEQUENCE_ID$"/>
56 <param name="permissions" value="sandbox"/>
57 <param name="APPLICATION_URL" value="http://www.jalview.org/services/launchApp"/>
64 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">
65 <param name="oninit" value="lJvFollow"/>
66 <param name="file" value="plantfdx.fa"/>
67 <param name="annotations" value="plantfdx.annotations"/>
68 <param name="automaticScrolling" value="true"/>
69 <param name="debug" value="true"/>
70 <param name="wrap" value="false"/>
71 <param name="showAnnotation" value="true"/>
72 <param name="embedded" value="true"/>
73 <param name="showFullId" value="false"/>
74 <param name="RGB" value="F2F2FF"/>
75 <param name="linkLabel_1" value="EMBL-EBI Search"/>
76 <param name="linkUrl_1" value="http://www.ebi.ac.uk/ebisearch/search.ebi?db=allebi&query=$SEQUENCE_ID$"/>
77 <param name="linkLabel_2" value="Uniprot"/>
78 <param name="linkUrl_2" value="http://www.uniprot.org/uniprot/$SEQUENCE_ID$"/>
79 <param name="permissions" value="sandbox"/>
80 <param name="APPLICATION_URL" value="http://www.jalview.org/services/launchApp"/>
85 <!-- <a href="javascript:linkJvJmol()">Click Me If you don't see any messages below</a>
88 <form name="console" id="console">
89 <textarea name="output"
90 id="stdout" rows="20" cols="80">Messages will appear here.</textarea></form>
93 <!-- content template end -->