JAL-1201 update pages to use new website design
authorjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 7 Nov 2012 15:11:16 +0000 (15:11 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Wed, 7 Nov 2012 15:11:16 +0000 (15:11 +0000)
20 files changed:
examples/appletParameters.html
examples/applets.html
examples/css/ie6.css [new file with mode: 0644]
examples/css/ie7.css [new file with mode: 0644]
examples/css/reset.css [new file with mode: 0644]
examples/css/style.css [new file with mode: 0644]
examples/embedded.html
examples/embeddedWJmol.html
examples/formComplete.html
examples/images/applet.jpg [new file with mode: 0644]
examples/images/com-arrow-3-small.png [new file with mode: 0644]
examples/images/desk.jpg [new file with mode: 0644]
examples/images/dev-arrow-3-normal.png [new file with mode: 0644]
examples/images/jvlite-arrow-3-small.png [new file with mode: 0644]
examples/images/logo.jpg [new file with mode: 0644]
examples/images/normal-arrow-3-normal.png [new file with mode: 0644]
examples/images/train-arrow-3-normal.png [new file with mode: 0644]
examples/jalviewLiteJs.html
examples/javascriptLaunch.html
examples/linkedapplets_ng.html

index ff41cb6..286c26d 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
 <TITLE>Applet Parameters</TITLE>
-<!-- InstanceEndEditable --> 
-<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">
-<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> 
-<style type="text/css">
+
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-       font-family: Geneva, Arial, Helvetica, sans-serif;
-       font-size: 12px;
-}
-.plain {
-       font-family: Verdana, Arial, Helvetica, sans-serif;
-       font-size: 14px;
-       text-decoration: none;
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
 }
-.plain:hover{
-       background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
 
-<script language="JavaScript">
-function genHref()
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);     }
-window.location=href;
+ closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
 }
 
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
 
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-         
-         <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
 
-        </div>
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<div id="pageWrap">
+
+<div id="sideNav">
+<ul>
+<li><a href="applets.html">JalviewLite Examples</a></li>
+<li class="jvlite-nav-small"><a href="appletParameters.html">Applet Parameters</a></li>
+<li><a href="jalviewLiteJs.html">Javascript API</a></li>
+<li><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">Sequence And Structure demo</a></li>
+</ul>
+</div>
 
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" --> 
+<div id="content" class="content">
         <p>
                                                <strong>Quick Links:<ul><li>Download the applet jar file from <a
                                                        href="jalviewApplet.jar">here</a>
@@ -571,10 +578,23 @@ pageTracker._trackPageview();
           <td>Multiple sequences aligment scores file. Currently is supported only the T-Coffee score_ascii file format</td>
           </tr>
                   </table>
-        <p align="center">&nbsp;</p>
-        <!-- InstanceEndEditable --></td>
-    </tr>
-  </table>
+</div>
+
+<div id ="footer">
+<div id="innerFooter">
+<div id="copyright"><p>Copyright all rights reserved 2012</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 doi: 10.1093/bioinformatics/btp033
+</p>
+</div>
+</div>
 </div>
 </body>
-<!-- InstanceEnd --></html>
+</html>
index 2af2591..2ab29a3 100755 (executable)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
 <TITLE>Jalview - Applets</TITLE>
-<!-- InstanceEndEditable --> 
-<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">
-<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> 
-<style type="text/css">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-       font-family: Geneva, Arial, Helvetica, sans-serif;
-       font-size: 12px;
-}
-.plain {
-       font-family: Verdana, Arial, Helvetica, sans-serif;
-       font-size: 14px;
-       text-decoration: none;
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
 }
-.plain:hover{
-       background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
 
-<script language="JavaScript">
-function genHref()
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);     }
-window.location=href;
+ closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
 }
 
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
 
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-         
-         <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
 
-        </div>
+<body>
 
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
-        <p>Jalview comes in two distinct flavours.<br>
-          <br>
-          The main application allows connection to multiple web services provided
-          at the University of Dundee as well as a host of additional useful features
-          such as printing, making images from your alignment and annotating your
-          alignment. You need to download and install this software.</p>
-        <p>The applet version runs in web browsers and is a useful interactive
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<div id="pageWrap">
+
+<div id="sideNav">
+<ul>
+<li class="jvlite-nav-title"><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><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">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<div id="content" class="content">
+        <p>JalviewLite is a web based version of Jalview, which runs as a Java applet in or on a web page. It's one of the easiest ways of providing an interactive
           display for precalculated alignments, features and annotations files.
-          It does not have the full functionality of the main application, such
-          as making images, saving files, running web service jobs due to security
+          It lacks some functionality available in the Jalview Desktop, however, such
+          as making images, saving files, and running web service jobs. This is mostly due to security
           restrictions imposed on applets.</p>
         <p align="left">For more information on how to use the applet in your
           website, see <a href="appletParameters.html"><strong>full list of applet
@@ -321,9 +321,24 @@ pageTracker._trackPageview();
           <li><a href="linkedapplets_ng.html">use Javascript to make two jalviewLite instances talk to each other</a></li>
           <li><a href="embeddedWJmol.html">configure JalviewLite to talk to a Jmol applet on the page.</a></li>
           </ul>
-        <!-- InstanceEndEditable --></td>
-    </tr>
-  </table>
+</div>
+
+<div id ="footer">
+<div id="innerFooter">
+<div id="copyright"><p>Copyright all rights reserved 2012</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 doi: 10.1093/bioinformatics/btp033
+</p>
+</div>
+</div>
 </div>
 </body>
-<!-- InstanceEnd --></html>
+</html>
+          
\ No newline at end of file
diff --git a/examples/css/ie6.css b/examples/css/ie6.css
new file mode 100644 (file)
index 0000000..3640d98
--- /dev/null
@@ -0,0 +1,73 @@
+#nav #navInner
+{
+margin-top:0x;
+}
+
+
+#sddm
+{
+       position:relative;
+       top:0;
+}
+
+
+#sddm li a.download-right
+{
+position:absolute;
+top:28px;
+left:270px;
+}
+
+#sddm li
+{
+padding-top:30px;
+padding-bottom:30px;
+}
+
+#sddm div
+{      position: absolute;
+       visibility: hidden;
+       margin: 0;
+       padding: 0;
+       top:80px;
+       z-index:9999;
+       width:0;
+       display:none;
+}
+
+
+       #sddm div a
+       {       position: relative;
+               display: block;
+               margin: 0;
+               padding:8px;
+               width: 200px;
+               white-space: nowrap;
+               text-align: left;
+               text-decoration: none;
+               background: #555;
+               color: #fff;
+               border: 1px solid #000000;
+               background: #555;
+               z-index:100;
+               left:-1100px;
+       }
+       
+       
+#nav
+{
+position:relative;
+z-index:2;
+   clear:both;
+    float:left;
+    width:100%;                /* width of whole page */
+}
+
+#content 
+{
+position:relative;
+z-index:2;
+   clear:both;
+    float:left;
+    width:100%;                /* width of whole page */
+}
diff --git a/examples/css/ie7.css b/examples/css/ie7.css
new file mode 100644 (file)
index 0000000..251303c
--- /dev/null
@@ -0,0 +1,67 @@
+#sddm\r
+{\r
+       position:relative;\r
+       top:0;\r
+}\r
+\r
+\r
+#sddm li a.download-right\r
+{\r
+position:relative;\r
+left:0;\r
+}\r
+\r
+#sddm li\r
+{\r
+padding-top:30px;\r
+padding-bottom:30px;\r
+}\r
+\r
+#sddm div\r
+{      position: absolute;\r
+       visibility: hidden;\r
+       margin: 0;\r
+       padding: 0;\r
+       background: #555;\r
+       border: 1px solid #000000;\r
+       top:80px;\r
+       z-index:9999;\r
+       width:120px;\r
+}\r
+\r
+\r
+       #sddm div a\r
+       {       position: relative;\r
+               display: block;\r
+               margin: 0;\r
+               padding:8px;\r
+               width: 200px;\r
+               white-space: nowrap;\r
+               text-align: left;\r
+               text-decoration: none;\r
+               background: #555;\r
+               color: #fff;\r
+               border: 1px solid #000000;\r
+               background: #555;\r
+               z-index:100;\r
+               left:-80px;\r
+       }\r
+       \r
+       \r
+#nav\r
+{\r
+position:relative;\r
+z-index:2;\r
+   clear:both;\r
+    float:left;\r
+    width:100%;                /* width of whole page */\r
+}\r
+\r
+#content \r
+{\r
+position:relative;\r
+z-index:2;\r
+   clear:both;\r
+    float:left;\r
+    width:100%;                /* width of whole page */\r
+}\r
diff --git a/examples/css/reset.css b/examples/css/reset.css
new file mode 100644 (file)
index 0000000..c9cdbf1
--- /dev/null
@@ -0,0 +1,95 @@
+/* http://meyerweb.com/eric/tools/css/reset/ 
+
+   v2.0 | 20110126
+
+   License: none (public domain)
+
+*/
+
+
+
+html, body, div, span, applet, object, iframe,
+
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+
+a, abbr, acronym, address, big, cite, code,
+
+del, dfn, em, img, ins, kbd, q, s, samp,
+
+small, strike, strong, sub, sup, tt, var,
+
+b, u, i, center,
+
+dl, dt, dd, ol, ul, li,
+
+fieldset, form, label, legend,
+
+table, caption, tbody, tfoot, thead, tr, th, td,
+
+article, aside, canvas, details, embed, 
+
+figure, figcaption, footer, header, hgroup, 
+
+menu, nav, output, ruby, section, summary,
+
+time, mark, audio, video {
+
+       margin: 0;
+
+       padding: 0;
+
+       border: 0;
+
+       font-size: 100%;
+
+       font: inherit;
+
+       vertical-align: baseline;
+
+}
+
+/* HTML5 display-role reset for older browsers */
+
+article, aside, details, figcaption, figure, 
+
+footer, header, hgroup, menu, nav, section {
+
+       display: block;
+
+}
+
+body {
+
+       line-height: 1;
+
+}
+
+ol, ul {
+
+       list-style: none;
+
+}
+
+blockquote, q {
+
+       quotes: none;
+
+}
+
+blockquote:before, blockquote:after,
+
+q:before, q:after {
+
+       content: '';
+
+       content: none;
+
+}
+
+table {
+
+       border-collapse: collapse;
+
+       border-spacing: 0;
+
+}
\ No newline at end of file
diff --git a/examples/css/style.css b/examples/css/style.css
new file mode 100644 (file)
index 0000000..7550b31
--- /dev/null
@@ -0,0 +1,391 @@
+@import url(http://fonts.googleapis.com/css?family=Lato);
+@import url(http://fonts.googleapis.com/css?family=Oswald);
+
+/*****************
+HTML 5 Elements
+******************/
+new
+
+
+article, aside, details, figcaption, figure, 
+footer, header, hgroup, menu, nav, section 
+{
+    display: block;
+}
+
+
+.clearfix:after
+ {
+    visibility: hidden;
+    display: block;
+    font-size: 0;
+    content: " ";
+    clear: both;
+    height: 0;
+}
+
+
+/****************
+Body
+****************/
+
+body
+
+{
+  font: 76% arial,Helvetica,sans-serif;
+  text-align:left; 
+  background:#fff; 
+  color:#000;
+  border-top: 20px solid #555555;
+}
+
+
+
+/*********************
+Page Wrapper
+********************/
+
+#pageWrap 
+
+{
+       width: 960px;
+       margin: 0 auto;
+       position:relative;
+}
+
+/**********************
+HEADER
+************************/
+
+#header 
+{
+  display: block;
+  height: 180px;
+  margin: 0 auto 8px;
+  width: 960px;
+  position:relative;
+}
+
+#logo a 
+{
+  background-image: url("../images/logo.jpg");
+  background-repeat: no-repeat;
+  height: 87px;
+  left: 0;
+  position: absolute;
+  top: 50px;
+  width: 361px;
+  margin-bottom:50px;
+}
+
+#buttons
+{
+height:88px;
+width:252px;
+float:right;
+ right: 0;
+  position: absolute;
+  top: 50px;
+}
+
+#buttons li
+{
+margin-bottom:10px;
+}
+
+#buttons #applet a
+{
+  background-image: url("../images/applet.jpg");
+  background-repeat: no-repeat;
+    height:50px;
+  width:250px;
+  position: absolute;
+         opacity: 1;
+   transition: opacity .25s ease-in-out;
+   -moz-transition: opacity .25s ease-in-out;
+   -webkit-transition: opacity .25s ease-in-out;
+   text-shadow: 2px 2px 10px #000000;
+}
+
+#buttons #desktop a
+{
+  background-image: url("../images/desk.jpg");
+  background-repeat: no-repeat;
+  height:50px;
+  width:250px;
+  position: absolute;
+  top:45px;
+         opacity: 1;
+   transition: opacity .25s ease-in-out;
+   -moz-transition: opacity .25s ease-in-out;
+   -webkit-transition: opacity .25s ease-in-out;
+   text-shadow: 2px 2px 10px #000000;
+}
+
+#buttons #applet a:hover
+{
+ opacity: 0.8;
+}
+
+#buttons #desktop a:hover
+{
+ opacity: 0.8;
+}
+
+/*****************************
+NAV
+*********************************/
+#nav
+{
+width:100%;
+max-width:100%;
+color:#fff;
+background:#555;
+height:80px;
+}
+
+#navInner
+{
+width:960px;
+margin:0 auto;
+position:relative;
+}
+
+
+#sddm
+{      margin: 0;
+       padding: 0;
+       z-index: 30;
+       position:relative;
+       top:27px;
+}
+
+#sddm li
+{      margin: 0;
+       padding:0;
+       list-style: none;
+       float: left;
+}
+
+#sddm li a
+{ 
+       color: #FFFFFF;
+    font-size: 13pt;
+    padding: 27px 15px 25px;
+    text-align: center;
+    text-decoration: none;
+           font-family: 'Lato',sans-serif;
+}
+
+#sddm li a.community:hover
+{
+background:#F78E1E;
+}
+
+#sddm li a.development:hover
+{
+background:#AEBF45;
+}
+
+#sddm li a.training:hover
+{
+background:#009DDC;
+}
+
+#sddm li a.download-right
+{
+float:right;
+position:relative;
+left:345px;
+display:block;
+clear:left;
+ margin-top: -27px;
+    padding: 27px 15px 25px;
+}
+
+
+ul#sddm li a:hover 
+{          
+       text-decoration: none;
+       background:#0083A9;
+}
+
+#sddm div
+{      position: absolute;
+       visibility: hidden;
+       margin: 0;
+       padding: 0;
+       background: #555;
+       border: 1px solid #000000;
+       top:50px;
+}
+
+       #sddm div a
+       {       position: relative;
+               display: block;
+               margin: 0;
+               padding:8px;
+               width: 200px;
+               white-space: nowrap;
+               text-align: center;
+               text-decoration: none;
+               background: #555;
+               color: #fff;
+               border: 1px solid #000000;
+               background: #555;
+       }
+       
+
+
+/*****************************
+CONTENT
+*****************************/
+
+#content
+{
+  font-size: 10pt;
+  height: auto;
+  width: 710px;
+  padding-top:23px;
+  padding-bottom:23px;
+  overflow-x:auto; 
+  overflow-y:hidden; 
+}
+
+#sideNav
+{
+width:200px;
+float:left;
+padding-top:29px;
+margin-right:50px;
+}
+
+
+       
+#sideNav li
+{
+  height: 40px;
+    list-style-image: none;
+    list-style-type: none;
+    margin-bottom: 20px;
+}
+
+#sideNav a
+{
+   color: #555555;
+    display: block;
+    font-size: 13pt;
+    padding: 8px 0 0 15px;
+    text-decoration: none;
+}
+
+#sideNav a:hover
+{
+    text-decoration: underline;
+}
+#sideNav .about-nav-title
+{
+background: url("../images/normal-arrow-3-normal.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 5px;
+}
+
+#sideNav .jvlite-nav-title
+{
+background: url("../images/jvlite-arrow-3-small.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 5px;
+}
+
+#sideNav .jvlite-nav-small
+{
+background: url("../images/jvlite-arrow-3-small.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 0px;
+}
+
+#sideNav .com-nav-title
+{
+background: url("../images/com-arrow-3-small.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 5px;
+}
+
+#sideNav .dev-nav-title
+{
+background: url("../images/dev-arrow-3-normal.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 5px;
+}
+
+#sideNav .train-nav-title
+{
+background: url("../images/train-arrow-3-normal.png") no-repeat scroll 0 0 transparent;
+    color: #FFFFFF;
+    font-family: 'Lato',sans-serif;
+    font-size: 18pt;
+    font-weight: normal;
+    height: 40px;
+    margin-bottom: 20px;
+    padding-left: 5px;
+}
+
+/********************************
+FOOTER
+***********************************/
+
+#footer
+{
+max-width:100%;
+width:100%;
+color:#fff;
+background:#555;
+height:140px;
+padding-top:10px;
+clear:both;
+}
+
+#innerFooter
+{
+width:960px;
+margin:0 auto;
+height:140px;
+padding-top:10px;
+}
+
+
+#copyright
+{
+float:left;
+}
+
+#cite
+{
+float:right;
+width:555px;
+}
\ No newline at end of file
index 415e77b..1450a8b 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
-<title>
-Embedded viewing of Alignments
+<head>Embedded viewing of Alignments
 </title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
+<!--
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
+}
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+}
+
+// go close timer
+function mclosetime()
+{
+ closetimer = window.setTimeout(mclose, timeout);
+}
+
+// cancel close timer
+function mcancelclosetime()
+{
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
+}
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
+</script>
+
+</head>
+
+
 <body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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><a href="formComplete.html">in-page API demo</a></li>
+<li class="jvlite-nav-small"><a href="embedded.html">Embedded applet demo</a></li>
+<li><a href="linkedApplets_ng.html">Two JalviewLites demo</a></li>
+<li><a href="embeddedWJmol.html">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<div id="content" class="content">
 <h1>Embedded viewing of Alignments</h1>
 <p>The alignment below was generated from the following files:
 <ul>
index 35c6e15..e560f8c 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
 <TITLE>Embedded JalviewLite talking to externally managed Jmol</TITLE>
-<!-- InstanceEndEditable --> 
-<meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<meta http-equiv="keywords" content="protein,interaction,domain,alignment,barton group,structure,interface">
-<!-- InstanceBeginEditable name="head" -->
 <script src="javascript/deployJava.js"></script>
 <script src="jmol/Jmol.js"></script>
 <script src="javascript/jquery-1.4.4.min.js"></script>
 jmolInitialize("","JmolApplet-12.2.4.jar");
 function genHref()
 {
-       var s1 = "ml:i@midd..", s2 = "atelcpoueau", s3 = "iomyob.neck", href="";
-       for(i=0; i<11; i++)
-       {       href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);       
-       }
-       window.location=href;
+ var s1 = "ml:i@midd..", s2 = "atelcpoueau", s3 = "iomyob.neck", href="";
+ for(i=0; i<11; i++)
+ { href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i); 
+ }
+ window.location=href;
 }
 </script>
 <script>
-       var loglevel=1;
-       function dbg(lvl,string) {
-               if (_console && lvl<=loglevel) {_console.value += string + "\n";}
-       }
-       var _lastTime=new Date();
-       var _path;
-       var _datazip;
-       var _zip;
-       var alignA;
-       var alignB;
-       var featuresA;
-       var featuresB;
-       var pairs;
-       var atompairs;
-       var structdata;
-       var jmolview;
-       var jvstructassoc;
-       var modeltofiles = new Array();
+ var loglevel=1;
+ function dbg(lvl,string) {
+  if (_console && lvl<=loglevel) {_console.value += string + "\n";}
+ }
+ var _lastTime=new Date();
+ var _path;
+ var _datazip;
+ var _zip;
+ var alignA;
+ var alignB;
+ var featuresA;
+ var featuresB;
+ var pairs;
+ var atompairs;
+ var structdata;
+ var jmolview;
+ var jvstructassoc;
+ var modeltofiles = new Array();
 
-       function lJvA() {
-               jvfollower = document.getElementById("jvA");
-               setConsole(document.getElementById("stdout"));
-               
-               sep = jvfollower.getSeparator();
-               //jvapp.setSeparator(""+jvapp.getSeparator());
-               linkJvJmol(jvfollower, "jmolView", modeltofiles);
-       };
+ function lJvA() {
+  jvfollower = document.getElementById("jvA");
+  setConsole(document.getElementById("stdout"));
+  
+  sep = jvfollower.getSeparator();
+  //jvapp.setSeparator(""+jvapp.getSeparator());
+  linkJvJmol(jvfollower, "jmolView", modeltofiles);
+ };
 
-       var _jvA=new Object();
-       _jvA.attributes = {
-               code : 'jalview.bin.JalviewLite',
-               archive : 'jalviewApplet.jar',
-               width : '500',
-               height : '350',
-               mayscript : 'True',
-               scriptable: 'True',
-               id : 'jvA'
-       };
-       _jvA.parameters = {
-                       java_arguments : "-Xmx256m",
-               externalstructureviewer : "true",
-         oninit : "lJvA",
-               automaticScrolling : "true",
-//             <!-- defaultColour : "Strand Propensity", -->
-               file : "uniref50_mz.fa",
-               
-               relaxedidmatch : "true",
-               debug : "true",
-               wrap : "false",
-               // separator : "^",
-               showAnnotation : "false",
-               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$",
-               APPLICATION_URL : "http://www.jalview.org/services/launchApp",
-               PDBfile : "1gaq.txt FER1_MAIZE"
-       };
-       jmolSetCallback("hoverCallback","_jmolhover");
+ var _jvA=new Object();
+ _jvA.attributes = {
+  code : 'jalview.bin.JalviewLite',
+  archive : 'jalviewApplet.jar',
+  width : '500',
+  height : '350',
+  mayscript : 'True',
+  scriptable: 'True',
+  id : 'jvA'
+ };
+ _jvA.parameters = {
+   java_arguments : "-Xmx256m",
+  externalstructureviewer : "true",
+   oninit : "lJvA",
+  automaticScrolling : "true",
+//  <!-- defaultColour : "Strand Propensity", -->
+  file : "uniref50_mz.fa",
+  
+  relaxedidmatch : "true",
+  debug : "true",
+  wrap : "false",
+  // separator : "^",
+  showAnnotation : "false",
+  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$",
+  APPLICATION_URL : "http://www.jalview.org/services/launchApp",
+  PDBfile : "1gaq.txt FER1_MAIZE"
+ };
+ jmolSetCallback("hoverCallback","_jmolhover");
   jmolSetCallback("pickCallback","_jmolpick");
   modeltofiles+="1gaq.txt";
 </script>
-<!-- InstanceEndEditable --> 
-<style type="text/css">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-  font-family: Geneva, Arial, Helvetica, sans-serif;
-  font-size: 12px;
-}
-.plain {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size: 14px;
-  text-decoration: none;
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
 }
-.plain:hover{
-  background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
-<script language="JavaScript">
-function genHref()
+
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);  }
-window.location=href;
+ closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
 }
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-    
-    <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-      <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-      <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
-        </div>
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
-<!-- <a onclick="colourStructs();">Colour from jalviews</a>
- -->
+
+
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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><a href="formComplete.html">in-page API demo</a></li>
+<li><a href="linkedApplets_ng.html">Two JalviewLites demo</a></li>
+<li class="jvlite-nav-small"><a href="embeddedWJmol.html">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<div id="content" class="content">
  <center>
     <script>
        jmolApplet("500x500","zap; load FILE '1gaq.txt'; frame 0; select all; wireframe off; spacefill off; cartoons; restrict; center *; set selectionhalos true;select 0","jmolView");
@@ -244,17 +251,23 @@ pageTracker._trackPageview();
     deployJava.runApplet(_jvA.attributes, _jvA.parameters, '1.4');
     </script>
        </center>
-       </td>
-       </tr>
-       </table>
-<!-- <form name="console" id="console">
-  <textarea name="output" id="stdout" rows="3" cols="80"
-  >Messages  will appear here.</textarea></form>
-       --></div>
-        <!-- InstanceEndEditable --></td>
-    </tr>
-  </table>
+</div>
+
+<div id ="footer">
+<div id="innerFooter">
+<div id="copyright"><p>Copyright all rights reserved 2012</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 doi: 10.1093/bioinformatics/btp033
+</p>
+</div>
+</div>
 </div>
 </body>
-<!-- InstanceEnd --></html>
-       
+</html>
index ab9b853..aebffc0 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
 <TITLE>JalviewLite Applet API and Form Complete Example</TITLE>
-<!-- InstanceEndEditable --> 
-<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">
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable --> 
-<style type="text/css">
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-       font-family: Geneva, Arial, Helvetica, sans-serif;
-       font-size: 12px;
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
 }
-.plain {
-       font-family: Verdana, Arial, Helvetica, sans-serif;
-       font-size: 14px;
-       text-decoration: none;
-}
-.plain:hover{
-       background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
-<script language="JavaScript">
-function genHref()
+
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);     }
-window.location=href;
+ closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
 }
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-         
-         <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
-        </div>
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
-               <p>&nbsp;</p>
+
+
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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">Sequence And Structure 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>
@@ -192,10 +201,24 @@ pageTracker._trackPageview();
                        onClick="document.applets.Jalview.setFeatureGroupState(document.forms.groupForm.groups.value, false)"
                        value="Hide groups" /></div>
                </form>
-               
-<!-- InstanceEndEditable --></td>
-    </tr>
-  </table>
+               </div>
+
+<div id ="footer">
+<div id="innerFooter">
+<div id="copyright"><p>Copyright all rights reserved 2012</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 doi: 10.1093/bioinformatics/btp033
+</p>
+</div>
+</div>
 </div>
 </body>
-<!-- InstanceEnd --></html>
+</html>
+  
\ No newline at end of file
diff --git a/examples/images/applet.jpg b/examples/images/applet.jpg
new file mode 100644 (file)
index 0000000..2b4eb7e
Binary files /dev/null and b/examples/images/applet.jpg differ
diff --git a/examples/images/com-arrow-3-small.png b/examples/images/com-arrow-3-small.png
new file mode 100644 (file)
index 0000000..e11ea15
Binary files /dev/null and b/examples/images/com-arrow-3-small.png differ
diff --git a/examples/images/desk.jpg b/examples/images/desk.jpg
new file mode 100644 (file)
index 0000000..cf8daff
Binary files /dev/null and b/examples/images/desk.jpg differ
diff --git a/examples/images/dev-arrow-3-normal.png b/examples/images/dev-arrow-3-normal.png
new file mode 100644 (file)
index 0000000..f1ec24e
Binary files /dev/null and b/examples/images/dev-arrow-3-normal.png differ
diff --git a/examples/images/jvlite-arrow-3-small.png b/examples/images/jvlite-arrow-3-small.png
new file mode 100644 (file)
index 0000000..cde23b3
Binary files /dev/null and b/examples/images/jvlite-arrow-3-small.png differ
diff --git a/examples/images/logo.jpg b/examples/images/logo.jpg
new file mode 100644 (file)
index 0000000..06c7cdd
Binary files /dev/null and b/examples/images/logo.jpg differ
diff --git a/examples/images/normal-arrow-3-normal.png b/examples/images/normal-arrow-3-normal.png
new file mode 100644 (file)
index 0000000..03c836d
Binary files /dev/null and b/examples/images/normal-arrow-3-normal.png differ
diff --git a/examples/images/train-arrow-3-normal.png b/examples/images/train-arrow-3-normal.png
new file mode 100644 (file)
index 0000000..ea8ad5c
Binary files /dev/null and b/examples/images/train-arrow-3-normal.png differ
index 2580a69..d0691b6 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
-<TITLE>JalviewLite API documentation</TITLE>
-<!-- InstanceEndEditable --> 
-<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">
-<!-- InstanceBeginEditable name="head" -->
-<!-- InstanceEndEditable --> 
-<style type="text/css">
+
+ <title>JalviewLite API documentation</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+       <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+       <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-       font-family: Geneva, Arial, Helvetica, sans-serif;
-       font-size: 12px;
-}
-.plain {
-       font-family: Verdana, Arial, Helvetica, sans-serif;
-       font-size: 14px;
-       text-decoration: none;
+var timeout         = 500;
+var closetimer         = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{      
+       // cancel close timer
+       mcancelclosetime();
+
+       // close old layer
+       if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+       // get new layer and show it
+       ddmenuitem = document.getElementById(id);
+       ddmenuitem.style.visibility = 'visible';
+
 }
-.plain:hover{
-       background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+       if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
-<script language="JavaScript">
-function genHref()
+
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);     }
-window.location=href;
+       closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+       if(closetimer)
+       {
+               window.clearTimeout(closetimer);
+               closetimer = null;
+       }
 }
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-         
-         <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-                       <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
-        </div>
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
-               <p>&nbsp;</p>
-               <strong>JalviewLite Javascript API<br></strong>
+
+
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+       <li><a href="#">Home</a></li>
+       <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+               <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+               <a href="#">Documentation</a>
+               <a href="#">Publications</a>
+               <a href="#">Credits</a>
+               <a href="#">Screenshots</a>
+               </div>
+       </li>
+       <li><a href="#">FAQ</a></li>
+       <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+               <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+               <a href="#">News Mailing List</a>
+               <a href="#">Discussion Mailing List</a>
+               <a href="#">Links</a>
+               <a href="#">Community News</a>
+               </div>
+       </li>
+       <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+               <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+               <a href="#">Release History</a>
+               <a href="#">Jalview Bug Tracker</a>
+               <a href="#">Jalview Git Web</a>
+               <a href="#">Development News</a>
+               </div>
+       </li>
+       <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+               <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+               <a href="#">Training Courses</a>
+               <a href="#">Training News</a>
+               </div>
+       </li>
+       <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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 class="jvlite-nav-small"><a href="jalviewLiteJs.html">Javascript API</a></li>
+<li><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">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<div id="content" class="content"> 
                <p>The jalviewLite applet's application programming interface (API) includes two components. A <a href="javascript/jalview.js">JalviewLite Javascript Library</a> and the <a href="#api">public methods on the JalviewLite applet</a>.
+</p>
                <p>The best way to learn how to use the API is to see it in action on the demonstration pages below:</p>
                <ul>
           <li><a href="formComplete.html">use Javascript to control and get data from JalviewLite</a></li>
           <li><a href="linkedapplets_ng.html">use Javascript to make two jalviewLite instances talk to each other.</a></li>
           <li><a href="embeddedWJmol.html">configure JalviewLite to talk to a Jmol applet on the page (EXPERIMENTAL! please provide feedback!).</a></li>
           <li><a href="javascriptLaunch.html">launch JalviewLite from a javascript button</a></li>
-          
                </ul>
-               <h4>Notes</h4>
+               <h3>Notes</h3>
                <ul>
                <li>Unfortunately Javascript - Java communication is not possible
                using Internet Explorer or Opera on Macs. Please use Safari or
@@ -170,7 +179,7 @@ pageTracker._trackPageview();
                </li>
                </ul>
                <a name="api">
-               <h4>JalviewLite's Java API</h4></a>
+               <h1>JalviewLite's Javascript API</h1></a>
                <p>The following public methods on the jalviewLite applet are available to be called from javascript:</p>
                <pre>//get list of IDs of selected sequences
 public String getSelectedSequences()
@@ -240,11 +249,11 @@ public void loadAnnotation(String annotation)
 public void loadAnnotationFrom(AlignFrame alf, String annotation)
 
 // parse the given string as a jalview or GFF features file and optionally enable feature display on the current alignment
-// (v2.7.1)
+// (v2.8)
 public abstract void loadFeatures(String features, boolean autoenabledisplay)
 
 // parse the given string as a jalview or GFF features file and optionally enable feature display on the given alignment
-// (v2.7.1)
+// (v2.8)
 public abstract void loadFeaturesFrom(AlignFrame alf, String features, boolean autoenabledisplay)
 
 // get the sequence features in the given format (Jalview or GFF)
@@ -400,9 +409,25 @@ public static String getVersion()
 // debug flag - controls output to standard out
 public static boolean debug
 
-</pre> <!-- InstanceEndEditable --></td>
-    </tr>
-  </table>
+</pre>
+
+</div>
+
+<div id ="footer">
+<div id="innerFooter">
+<div id="copyright"><p>Copyright all rights reserved 2012</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 doi: 10.1093/bioinformatics/btp033
+</p>
+</div>
+</div>
 </div>
 </body>
-<!-- InstanceEnd --></html>
+</html>
index 2a0e1c6..5b6d489 100644 (file)
@@ -1,4 +1,4 @@
-<html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
   <head><title>Opening JalviewLite from Javascript</title>
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+  
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
+
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
+<!--
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
+}
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+}
+
+// go close timer
+function mclosetime()
+{
+ closetimer = window.setTimeout(mclose, timeout);
+}
+
+// cancel close timer
+function mcancelclosetime()
+{
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
+}
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
+</script>
+
 </head>
-  <body>
+
+
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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><ul><li class="jvlite-nav-small"><a href="javascriptLaunch.html">JalviewLite Button</a></li></ul></li>
+<li><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">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<div id="content" class="content"> 
   <SCRIPT type="text/javascript">
   /* <![CDATA[ // */
 // From http://snipplr.com/view.php?codeview&id=1272
@@ -115,5 +249,3 @@ onClick="startJalview('plantfdx.fa','Button1.alignment','alwvar')"/>
   </form>
   
 
-  </body>
-</html>
index cbb66a8..80bda5e 100644 (file)
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 
 <!--
  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
  * 
  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
 -->
-<html><!-- InstanceBegin template="/Templates/jtemplate.dwt" codeOutsideHTMLIsLocked="false" -->
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<!-- InstanceBeginEditable name="doctitle" -->
 <title>Linked Jalview Applets Demo</title>
-<!-- InstanceEndEditable --> 
-<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">
-<!-- InstanceBeginEditable name="head" -->
+  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
+  
+ <link href="css/reset.css" rel="stylesheet" type="text/css" />
+ <link href="css/style.css" rel="stylesheet" type="text/css" />
 <script src="http://www.java.com/js/deployJava.js"></script>
 <script src="javascript/jalview.js" language="javascript"></script>
 <script>  //deployJava.debug="true";
     linkJvJmol(jvfollower);
   };
 </script>
+  <!--[if IE 6]>
+ <link rel="stylesheet" type="text/css" href="css/ie6.css" />
+<![endif]-->
 
-<!-- InstanceEndEditable --> 
-<style type="text/css">
+<!--[if IE 7]>
+ <link rel="stylesheet" type="text/css" href="css/ie7.css" />
+<![endif]-->
+
+<!-- dd menu -->
+<script type="text/javascript">
 <!--
-td {
-  font-family: Geneva, Arial, Helvetica, sans-serif;
-  font-size: 12px;
-}
-.plain {
-  font-family: Verdana, Arial, Helvetica, sans-serif;
-  font-size: 14px;
-  text-decoration: none;
+var timeout         = 500;
+var closetimer  = 0;
+var ddmenuitem      = 0;
+
+// open hidden layer
+function mopen(id)
+{ 
+ // cancel close timer
+ mcancelclosetime();
+
+ // close old layer
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
+
+ // get new layer and show it
+ ddmenuitem = document.getElementById(id);
+ ddmenuitem.style.visibility = 'visible';
+
 }
-.plain:hover{
-  background-color:#000000; color: #F2F2FF;
+// close showed layer
+function mclose()
+{
+ if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
 }
--->
-</style>
-<script language="JavaScript">
-function genHref()
+
+// go close timer
+function mclosetime()
 {
-var s1 = "ml:ljvwr", s2 = "athpai.g", s3 = "ioe@leo ", href="";
-for(i=0; i<8; i++)
-{href = href + s1.charAt(i) + s2.charAt(i) + s3.charAt(i);  }
-window.location=href;
+ closetimer = window.setTimeout(mclose, timeout);
 }
-function getEventTarget(e)
+
+// cancel close timer
+function mcancelclosetime()
 {
-if(!e)
-e = window.event;
-if(e.target)
-return e.target;
-return e.srcElement;
+ if(closetimer)
+ {
+  window.clearTimeout(closetimer);
+  closetimer = null;
+ }
 }
+
+// close layer when click-out
+document.onclick = mclose; 
+// -->
 </script>
+
 </head>
-<body alink="#000000" vlink="#000000" link="#000000">
-<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>
-<div align="left"> 
-  <table width="805" height="100" cellpadding="5">
-    <tr>
-      <td background="../jalview.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.compbio.dundee.ac.uk" target="NEW"><img src="../uodc_r1_c1.gif" width="143" height="101" border="1"></a></td>
-    </tr>
-  </table>
-  <table width="805" border="0" cellpadding="5" cellspacing="5">
-    <tr> 
-      <td width="183" valign="top" bgcolor="#F2F2FF" border="5"> 
-    
-    <div align="center">
-          <table width="182" height="386" border="0" cellpadding="0" cellspacing="0">
-            <tr> 
-              <td align="left" valign="middle"><a href="../index.html" class="plain">Home</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../overview.html" class="plain">Overview</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../download.html" class="plain">Download</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="applets.html" class="plain">Applet 
-                Version</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="examples.html" class="plain">Screenshots</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../faq.html" class="plain">FAQ</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../documentList.html" class="plain">Documentation</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle" ><a href="../releaseHistory.html" class="plain">Release 
-                history</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="../source/source.html" class="plain">Source 
-                Code</a></td>
-            </tr>
-      <tr> 
-              <td align="left" valign="middle"><a href="../versions.html" class="plain">Development Version</a></td>
-            </tr>
-      <tr> 
-              <td align="left" valign="middle"><a href="../links.html" class="plain">Links</a></td>
-            </tr>
-            <tr> 
-              <td align="left" valign="middle"><a href="http://www.jalview.org/mailman/listinfo/jalview-announce" class="plain" target="NEW">News 
-                Mailing List</a></td>
-            </tr>
-            <tr>
-              <td align="left" valign="middle"><a
-            href="http://www.jalview.org/mailman/listinfo/jalview-discuss"
-            class="plain" target="NEW">Discussion Mailing List</a><br><br><em>Please send problems<br>and
-            bug reports to the discussion list.</em></td>
-            </tr>
-            <tr></tr>
-            <tr>
-              <!--<td align="left" valign="middle"><br>
-                Please send problems<br>and
-            bug reports to:<br><a href="#" onClick="javascript:genHref();"><img src="../help.gif" width="123" height="19" border="0"></a></td>-->
-            </tr>
-          </table>
-        </div>
-        <div align="center"> <a href="http://www.bbsrc.ac.uk/" target="NEW"><br>
-          <img src="../bbsrc-new.gif" width="179" height="64" border="1"></a> 
-        </div>
-        </td>
-      <td valign="top" width="587" bgcolor="#F2F2FF"><!-- InstanceBeginEditable name="Contents" -->
-    <p>&nbsp;</p>
+
+
+<body>
+
+
+<div id="header">
+<div id="logo"><a href="/" title="Home"></a></div>
+<ul id="buttons">
+<li id="applet"><a href="applets.html" title="applet"></a></li>
+<li id="desktop"><a href="/webstart/jalview.jnlp" title="desktop"></a></li>
+</ul>
+</div>
+
+
+<div id ="nav">
+<div id="navInner">
+
+<ul id="sddm">
+ <li><a href="#">Home</a></li>
+ <li><a href="#" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
+  <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Documentation</a>
+  <a href="#">Publications</a>
+  <a href="#">Credits</a>
+  <a href="#">Screenshots</a>
+  </div>
+ </li>
+ <li><a href="#">FAQ</a></li>
+ <li><a href="#" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
+  <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">News Mailing List</a>
+  <a href="#">Discussion Mailing List</a>
+  <a href="#">Links</a>
+  <a href="#">Community News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
+  <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Release History</a>
+  <a href="#">Jalview Bug Tracker</a>
+  <a href="#">Jalview Git Web</a>
+  <a href="#">Development News</a>
+  </div>
+ </li>
+ <li><a href="#" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
+  <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
+  <a href="#">Training Courses</a>
+  <a href="#">Training News</a>
+  </div>
+ </li>
+ <li><a href="#" class="download-right">Download</a></li>
+</ul>
+<div style="clear:both"></div>
+</div>
+
+</div>
+
+
+<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><a href="formComplete.html">in-page API demo</a></li>
+<li class="jvlite-nav-small"><a href="linkedApplets_ng.html">Two JalviewLites demo</a></li>
+<li><a href="embeddedWJmol.html">Sequence And Structure demo</a></li>
+</ul>
+</div>
+
+<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>