-
-
-<div id="pageWrap">
-
-<div id="sideNav">
-<ul>
-<li><a href="applets.html">JalviewLite Examples</a></li>
-<li><a href="appletParameters.html">Applet Parameters</a></li>
-<li><a href="jalviewLiteJs.html">Javascript API</a></li>
-<li class="jvlite-nav-small"><a href="formComplete.html">in-page API demo</a></li>
-<li><a href="linkedapplets_ng.html">Two JalviewLites demo</a></li>
-<li><a href="embeddedWJmol.html">Jalview and Jmol demo</a></li>
-</ul>
-</div>
-
-<div id="content" class="content">
- <strong>Using the <a href="jalviewLiteJs.html">JalviewLite API</a> to fill out forms using data from JalviewLite<br></strong>
- Click the Javascript buttons below to interact with the Applet
- instance on the page.<br>
- View the source in your browser to see how it has been done. <br>
- <a name="api">View the full <a href="jalviewLiteJs.html">JalviewLite API documentation</a>.</a>
- <applet code="jalview.bin.JalviewLite" width="0" height="0"
- archive="jalviewApplet.jar" name="Jalview">
- <param name="file" value="plantfdx.fa">
- <param name="features" value="plantfdx.features">
- <param name="wrap" value="true">
- <param name="showAnnotation" value="false">
- <param name="windowHeight" value="500">
- <param name="windowWidth" value="650">
- <param name="showFullId" value="false">
- <param name="linkLabel_1" value="Uniprot">
- <param name="linkUrl_1"
- value="http://www.uniprot.org/uniprot/$SEQUENCE_ID$">
- <param name="linkLabel_2" value="Expasy">
- <param name="linkUrl_2"
- value="http://us.expasy.org/cgi-bin/niceprot.pl?$SEQUENCE_ID$">
-<param name="hidefeaturegroups" value="uniprot" />
- <param name="showbutton" value="false" />
- </applet>
- <form name="exampleForm"><br>
- <br>
- <center><strong>Using the Jalview Applet for Input
- to an HTML Form</strong></center>
- <div align="center"><input type="button"
- onClick="document.forms.exampleForm.exampleTextarea.value=document.applets.Jalview.getAlignment('fasta', 'false')"
- value="Fill Form from Jalview" /> <br>
- <br>
- <textarea name="exampleTextarea" cols="55" rows="9"></textarea></div>
- </form>
- <center><strong>Make a new View and Get and Set
- Group Display List</strong></center>
- <form name="groupForm">
- <div align="center"><input type="button"
- onClick="document.forms.groupForm.groups.value=document.applets.Jalview.getFeatureGroups()"
- value="Get groups" /> <input type="button"
- onClick="document.applets.Jalview.newView()" value="new View" /> <br>
- <textarea name="groups" cols="55" rows="9"></textarea> <br>
- <input type="button"
- onClick="document.applets.Jalview.setFeatureGroupState(document.forms.groupForm.groups.value, true)"
- value="Display groups" /> <input type="button"
- onClick="document.applets.Jalview.setFeatureGroupState(document.forms.groupForm.groups.value, false)"
- value="Hide groups" /></div>
- </form>
- </div>
-</div>
-<div id ="footer">
-<div id="innerFooter">
-<div id="copyright"><p>Published under <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-SA 3.0</a></p></div>
-<div id="cite">
-<p>
-If you use Jalview in your work, please cite this publication:
-</p>
-<br />
-<p>
-Waterhouse, A.M., Procter, J.B., Martin, D.M.A, Clamp, M. and Barton, G. J. (2009)
-"Jalview Version 2 - a multiple sequence alignment editor and analysis workbench"
-Bioinformatics 25 (9) 1189-1191 <a href="http://dx.doi.org/10.1093/bioinformatics/btp033">doi: 10.1093/bioinformatics/btp033</a>
-</p>
-</div>
-</div>
-</div>
-
-<script type="text/javascript">
- var gaJsHost = (("https:" == document.location.protocol) ?
- "https://ssl." : "http://www.");
- document.write(unescape("%3Cscript src=\'" + gaJsHost +
- "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
-try{
- var pageTracker = _gat._getTracker("'UA-9060947-1'");
- pageTracker._trackPageview();
-} catch(err) {}
-</script></body>
-</html>
-
\ No newline at end of file