bc47a73654740d11220f363aa2afce643b16329f
[jalview.git] / examples-jbake / templates / header.ftl
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <!--
3     * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
4     * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
5     * 
6     * This file is part of Jalview.
7     * 
8     * Jalview is free software: you can redistribute it and/or
9     * modify it under the terms of the GNU General Public License 
10     * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
11     *  
12     * Jalview is distributed in the hope that it will be useful, but 
13     * WITHOUT ANY WARRANTY; without even the implied warranty 
14     * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15     * PURPOSE.  See the GNU General Public License for more details.
16     * 
17     * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
18   -->
19 <head>
20   <TITLE>${content.title}</TITLE>
21   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
22
23   <link href="css/reset.css" rel="stylesheet" type="text/css" />
24   <link href="css/style.css" rel="stylesheet" type="text/css" />
25   
26   <!--[if IE 6]>
27       <link rel="stylesheet" type="text/css" href="css/ie6.css" />
28       <![endif]-->
29
30   <!--[if IE 7]>
31       <link rel="stylesheet" type="text/css" href="css/ie7.css" />
32       <![endif]-->
33
34   <!-- dd menu -->
35   <script type="text/javascript">
36     <!--
37         var timeout         = 500;
38         var closetimer  = 0;
39         var ddmenuitem      = 0;
40
41         // open hidden layer
42         function mopen(id)
43         { 
44         // cancel close timer
45         mcancelclosetime();
46
47         // close old layer
48         if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
49
50         // get new layer and show it
51         ddmenuitem = document.getElementById(id);
52         ddmenuitem.style.visibility = 'visible';
53
54         }
55         // close showed layer
56         function mclose()
57         {
58         if(ddmenuitem) ddmenuitem.style.visibility = 'hidden';
59         }
60
61         // go close timer
62         function mclosetime()
63         {
64         closetimer = window.setTimeout(mclose, timeout);
65         }
66
67         // cancel close timer
68         function mcancelclosetime()
69         {
70         if(closetimer)
71         {
72         window.clearTimeout(closetimer);
73         closetimer = null;
74         }
75         }
76
77         // close layer when click-out
78         document.onclick = mclose; 
79         // -->
80   </script>
81   <script>
82     <!--//--><![CDATA[//><!--
83 var _gaq = _gaq || [];_gaq.push(["_setAccount", "UA-9060947-1"]);_gaq.push(["_trackPageview"]);(function() {var ga = document.createElement("script");ga.type = "text/javascript";ga.async = true;ga.src = ("https:" == document.location.protocol ? "https://ssl" : "http://www") + ".google-analytics.com/ga.js";var s = document.getElementsByTagName("script")[0];s.parentNode.insertBefore(ga, s);})();
84 //--><!]]>
85   </script>
86 <#if (content.hclass?exists) > 
87   <#include content.hclass />
88 </#if>
89
90 </head>
91
92
93 <body>
94
95
96   <div id="header">
97     <div id="logo"><a href="http://www.jalview.org" title="Home"></a></div>
98     <ul id="buttons">
99       <li id="applet"><a href="applets.html" title="applet"></a></li>
100       <li id="desktop"><a href="../webstart/jalview.jnlp" title="desktop"></a></li>
101     </ul>
102   </div>
103
104   
105   <div id ="nav">
106     <div id="navInner">
107
108       <ul id="sddm">
109         <li><a href="http://www.jalview.org">Home</a></li>
110         <li><a href="http://www.jalview.org/about" onmouseover="mopen('m1')" onmouseout="mclosetime()">About</a>
111           <div id="m1" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
112             <a href="http://www.jalview.org/about/documentation">Documentation</a>
113             <a href="http://www.jalview.org/about/citation">Publications</a>
114             <a href="http://www.jalview.org/about/credits">Credits</a>
115           </div>
116         </li>
117         <li><a href="http://www.jalview.org/faq">FAQ</a></li>
118         <li><a href="http://www.jalview.org/community" onmouseover="mopen('m3')" onmouseout="mclosetime()" class="community">Community</a>
119           <div id="m3" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
120             <a href="http://www.jalview.org/mailman/listinfo/jalview-announce">News Mailing List</a>
121             <a href="http://www.jalview.org/mailman/listinfo/jalview-discuss">Discussion Mailing List</a>
122             <a href="http://www.jalview.org/community/links">Links</a>
123             <a href="http://www.jalview.org/community/community-news">Community News</a>
124           </div>
125         </li>
126         <li><a href="http://www.jalview.org/development" onmouseover="mopen('m4')" onmouseout="mclosetime()" class="development">Development</a>
127           <div id="m4" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
128             <a href="http://www.jalview.org/development/release-history">Release History</a>
129             <a href="http://issues.jalview.org">Jalview Bug Tracker</a>
130             <a href="http://source.jalview.org/gitweb/">Jalview Git Web</a>
131             <a href="http://www.jalview.org/development/development-news">Development News</a>
132           </div>
133         </li>
134         <li><a href="http://www.jalview.org/training" onmouseover="mopen('m5')" onmouseout="mclosetime()" class="training">Training</a>
135           <div id="m5" onmouseover="mcancelclosetime()" onmouseout="mclosetime()">
136             <a href="http://www.jalview.org/training/training-courses">Training Courses</a>
137             <a href="http://www.jalview.org/training/training-news">Training News</a>
138           </div>
139         </li>
140         <li><a href="http://www.jalview.org/download" class="download-right">Download</a></li>
141       </ul>
142       <div style="clear:both"></div>
143     </div>
144
145   </div>
146 <div id="pageWrap">