1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
4 * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
6 * This file is part of Jalview.
8 * Jalview is free software: you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
12 * Jalview is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19 <html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
21 <!-- InstanceBeginEditable name="doctitle" -->
22 <title>Linked Jalview Applets Demo</title>
23 <!-- InstanceEndEditable -->
24 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta http-equiv="keywords" content="jalview,multiple,sequence,alignment,editor,viewer,java,download,barton group,protein,dna,das,distributed annotation system">
25 <!-- InstanceBeginEditable name="head" -->
26 <script src="http://www.java.com/js/deployJava.js"></script>
27 <script src="javascript/jalview.js" language="javascript"></script>
28 <script> //deployJava.debug="true";
31 var jvapp = document.getElementById("jvapp");
32 var jvfollower = document.getElementById("jvfollower");
33 setConsole(document.getElementById("stdout"));
34 //jvapp.setSeparator(""+jvapp.getSeparator());
38 function lJvFollow() {
39 var jvapp = document.getElementById("jvapp");
40 var jvfollower = document.getElementById("jvfollower");
41 //jvfollower.setSeparator(""+jvfollower.getSeparator());
42 linkJvJmol(jvfollower);
46 <!-- InstanceEndEditable -->
47 <style type="text/css">
50 font-family: Geneva, Arial, Helvetica, sans-serif;
54 font-family: Verdana, Arial, Helvetica, sans-serif;
56 text-decoration: none;
59 background-color:#000000; color: #F2F2FF;
64 <script language="JavaScript">
67 var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
69 {href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i); }
72 function getEventTarget(e)
82 <body alink="#000000" vlink="#000000" link="#000000">
83 <script type="text/javascript">
84 var gaJsHost = (("https:" == document.location.protocol) ?
85 "https://ssl." : "http://www.");
86 document.write(unescape("%3Cscript src='" + gaJsHost +
87 "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
89 <script type="text/javascript">
91 var pageTracker = _gat._getTracker("UA-9060947-1");
92 pageTracker._trackPageview();
96 <table width="805" height="100" cellpadding="5">
98 <td background="../jalview.gif"> <a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
101 <table width="805" border="0" cellpadding="5" cellspacing="5">
103 <td width="183" valign="top" bgcolor="#F2F2FF" border="5">
106 <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
108 <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
111 <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
114 <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
117 <td align="left" valign="middle"><a href="applets.html" class="plain">Applet
121 <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
124 <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
127 <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
130 <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release
134 <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source
138 <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
141 <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
144 <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News
145 Mailing List</a></td>
148 <td align="left" valign="middle"><a
149 href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
150 class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
151 bug reports to the discussion list.</em></td>
155 <!--<td align="left" valign="middle"><br>
156 Please send problems<br>and
157 bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
161 <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
162 <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a>
165 <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
167 <strong>JalviewLite Linked Applets Demo<br></strong>
168 <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.
170 <p>See the other demonstration pages below to see the API in action:</p>
172 <li><a href="formComplete.html">use Javascript to control and get data from JalviewLite</a></li>
173 <li><a href="embeddedWJmol.html">configure JalviewLite to talk to a Jmol applet on the page.</a></li>
174 <li><a href="javascriptLaunch.html">launch JalviewLite from a javascript button</a></li>
179 code : 'jalview.bin.JalviewLite',
180 archive : 'jalviewApplet.jar',
183 mayscript : 'True', scriptable: 'True',
188 automaticScrolling : "true",
189 file : "plantfdx.fa",
190 annotations : "plantfdx.annotations",
194 showAnnotation : "true",
196 showFullId : "false",
199 linkUrl_1 : "http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[uniprot-all:$SEQUENCE_ID$]+-vn+2"
202 linkLabel_2 : "Uniprot"
205 linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
206 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
209 deployJava.runApplet(attributes, parameters, '1.6');
213 code : 'jalview.bin.JalviewLite',
214 archive : 'jalviewApplet.jar',
217 mayscript : 'True', scriptable: 'True',
221 oninit : "lJvFollow",
222 file : "plantfdx.fa",
223 annotations : "plantfdx.annotations",
224 automaticScrolling : "true",
228 showAnnotation : "true",
230 showFullId : "false",
233 linkUrl_1 : "http://srs.ebi.ac.uk/srs7bin/cgi-bin/wgetz?-e+[uniprot-all:$SEQUENCE_ID$]+-vn+2"
236 linkLabel_2 : "Uniprot"
239 linkUrl_2 : "http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$",
240 APPLICATION_URL : "http://www.jalview.org/services/launchApp"
242 deployJava.runApplet(attributes, parameters, '1.6');
245 <!-- <a href="javascript:linkJvJmol()">Click Me If you don't see any messages below</a>
247 --><form name="console" id="console"><textarea name="output"
248 id="stdout" rows="20" cols="80">Messages will appear here.</textarea></form>