Team:Imperial College/Templates/Navigation2

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>University of East Anglia-JIC</title> <script type="text/javascript"><!-- var...")
(Blanked the page)
 
(23 intermediate revisions not shown)
Line 1: Line 1:
-
<html>
 
-
<head>
 
-
    <meta http-equiv="content-type" content="text/html;charset=utf-8" />
 
-
    <title>University of East Anglia-JIC</title>
 
-
 
-
<script type="text/javascript"><!--
 
-
var delay=7000
 
-
var ie4=document.all
 
-
var curindex=0
 
-
var totalcontent=0
 
-
function get_total(){
 
-
if (ie4){
 
-
while (eval("document.all.content"+totalcontent))
 
-
totalcontent++
 
-
}
 
-
else{
 
-
while (document.getElementById("content"+totalcontent))
 
-
totalcontent++
 
-
}
 
-
}
 
-
function contract_all(){
 
-
for (y=0;y<totalcontent;y++){
 
-
if (ie4)
 
-
eval("document.all.content"+y).style.display="none"
 
-
else
 
-
document.getElementById("content"+y).style.display="none"
 
-
}
 
-
}
 
-
function expand_one(which){
 
-
contract_all()
 
-
if (ie4)
 
-
eval("document.all.content"+which).style.display=""
 
-
else
 
-
document.getElementById("content"+which).style.display=""
 
-
}
 
-
function rotate_content(){
 
-
get_total()
 
-
contract_all()
 
-
expand_one(curindex)
 
-
curindex=(curindex<totalcontent-1)? curindex+1: 0
 
-
setTimeout("rotate_content()",delay)
 
-
}
 
-
window.onload=rotate_content
 
-
//--></script>
 
-
</head>
 
-
 
-
<style>
 
-
body{
 
-
background-color: #0B0719;
 
-
font: 11px Arial;
 
-
color: #FFFFFF;
 
-
padding: 5px 5px 5px 5px;
 
-
    }
 
-
 
-
b{
 
-
color: #FFFFFF;
 
-
}
 
-
 
-
.heading{
 
-
color: #000;
 
-
font: 14px century gothic;
 
-
padding: 5px 5px 2px 5px;
 
-
font-weight: bold;
 
-
}
 
-
 
-
.titlebg{
 
-
position: absolute;
 
-
top: 0px;
 
-
background-color: #000;
 
-
width: 965px;
 
-
height: 50px;
 
-
  /* for IE */
 
-
  filter:alpha(opacity=60);
 
-
  /* CSS3 standard */
 
-
  opacity:0.6;
 
-
z-index:3;
 
-
      }
 
-
 
-
.title{
 
-
position: absolute;
 
-
top: 0px;
 
-
float: left;
 
-
font: 35px Trebuchet MS;
 
-
color: #FFF;
 
-
padding-top: 5px;
 
-
padding-left: 10px;
 
-
z-index: 4;
 
-
      }
 
-
 
-
.header{
 
-
z-index: 1;
 
-
position: relative;
 
-
top: 0px;
 
-
height: 293px;
 
-
    }
 
-
 
-
.menu{
 
-
z-index: 5;
 
-
position: relative;
 
-
top: 220px;
 
-
font: 18px Trebuchet MS;
 
-
text-align: center;
 
-
          }
 
-
</style>
 
-
 
-
<body bgcolor="#FFFFFF">
 
-
<body align:center>
 
-
 
-
 
-
 
-
<div class="header">
 
-
<div class="titlebg">
 
-
</div>
 
-
<div class="title">
 
-
UNIVERSITY OF EAST ANGLIA-JOHN INNES CENTRE
 
-
</div>
 
-
<div id="content0" style="display:none">
 
-
<img src="https://static.igem.org/mediawiki/2011/0/03/Ziggurats_for_banner.jpg" width="965px" height="293px" border="0"></div>
 
-
<div id="content1" style="display:none">
 
-
<img src="https://static.igem.org/mediawiki/2011/d/db/JIC_AERIAL_VIEW_BANNER.jpg" width="965px" height="293px" border="0"></div>
 
-
<div id="content2" style="display:none">
 
-
<img src="https://static.igem.org/mediawiki/2011/0/09/CHLAMY_BANNER.jpg" width="965px" height="293px" border="0">
 
-
</div>
 
-
<div id="content3" style="display:none">
 
-
<img src="https://static.igem.org/mediawiki/2011/d/db/Fountain_border.jpg" width="965px" height="293px" border="0">
 
-
</div>
 
-
<div id="content4" style="display:none">
 
-
<img src="https://static.igem.org/mediawiki/2011/0/05/Physcomitrella_P.jpg " width="965px" height="293px" border="0">
 
-
</div>
 
-
 
-
</div>
 
-
</div>
 
-
 
-
 
-
 
-
 
-
<script type="text/javascript"
 
-
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
 
-
<script type="text/javascript">
 
-
$(document).ready(function() {
 
-
$("ul#topnav li").hover(function() {
 
-
$(this).css({ 'background' : 'transparent url(https://static.igem.org/mediawiki/2010/0/03/Valencia_navbar_active.gif) repeat-x'});
 
-
$(this).find("span").show();
 
-
} , function() { //on hover out...
 
-
$(this).css({ 'background' : 'none'});
 
-
$(this).find("span").hide();
 
-
});
 
-
 
-
});
 
-
</script>
 
-
 
-
<style>
 
-
 
-
/* Menu from http://www.sohtanaka.com/web-design/examples/horizontal-subnav/ */
 
-
#tab_nav {
 
-
position: absolute;
 
-
z-index: 1000;
 
-
}
 
-
ul#topnav {
 
-
float: left;
 
-
width: 965px;
 
-
list-style: none;
 
-
position: relative;
 
-
background: url("https://static.igem.org/mediawiki/2011/f/fc/Navigation.gif") repeat-x;
 
-
        font-family: Arial, Helvetica, Sans-Serif;
 
-
margin-left: 0px;
 
-
margin-top: 0px;
 
-
        font-size: 14px;
 
-
 
-
}
 
-
ul#topnav li {
 
-
float: left;
 
-
border-right: 1px solid #555;
 
-
        font-family: Arial, Helvetica, Sans-Serif;
 
-
 
-
}
 
-
ul#topnav li a {
 
-
padding: 10px 15px;
 
-
font-weight: bold;
 
-
display: block;
 
-
color: #f0f0f0;
 
-
text-decoration: none;
 
-
        font-family: Arial, Helvetica, Sans-Serif;
 
-
 
-
}
 
-
ul#topnav li a:hover {
 
-
      text-decoration: underline;
 
-
}
 
-
ul#topnav li:hover { background: #b5cc86 url("https://static.igem.org/mediawiki/2011/f/fc/Navigation.gif") repeat-x; }
 
-
ul#topnav li span {
 
-
float: left;
 
-
padding: 10px 0;
 
-
position: absolute;
 
-
left: 0; top: 34px;
 
-
display: none;
 
-
width:850px;
 
-
background: #ef8639;
 
-
color: #fff;
 
-
-moz-border-radius-bottomright: 5px;
 
-
-khtml-border-radius-bottomright: 5px;
 
-
-webkit-border-bottom-right-radius: 5px;
 
-
-moz-border-radius-bottomleft: 5px;
 
-
-khtml-border-radius-bottomleft: 5px;
 
-
-webkit-border-bottom-left-radius: 5px;
 
-
}
 
-
ul#topnav li:hover span { display: block; }
 
-
ul#topnav li span a { display: inline;  font-weight; normal; }
 
-
ul#topnav li span a:hover {text-decoration: underline;}
 
-
</style>
 
-
<ul id="topnav">
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich">Home</a>
 
-
     
 
-
    </li>
 
-
    <li>
 
-
        <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Team">Team</a>
 
-
        <!--Subnav Starts Here-->
 
-
        <span>
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Team"> Students</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Our_advisors"> Advisors</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Acknowledgements"> Acknowledgements</a> |
 
-
        </span>
 
-
        <!--Subnav Ends Here-->
 
-
    </li>
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Project"> Project</a> 
 
-
        <!--Subnav Starts Here-->
 
-
        <span>
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Project"> Project Overview</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Nittygritty-algae"> Algae</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Nittygritty-moss"> Moss</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Methods"> Methods</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Safety"> Lab Safety</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Attributions"> Attributions</a> |
 
-
        </span>
 
-
        <!--Subnav Ends Here-->
 
-
    </li>
 
-
        <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Registryoverview">Results</a>
 
-
 
-
        <!--Subnav Starts Here-->
 
-
        <span>
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Registryoverview"> Registry Overview</a>|
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/data"> Data</a>|
 
-
        </span>
 
-
        <!--Subnav Ends Here-->
 
-
    </li>
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/Interviews"> Human Practice</a>
 
-
        <!--Subnav Starts Here-->
 
-
        <span>
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/Interviews"> Interviews</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices"> Outreach</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/UKConference"> UK Team Meetup</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/Media"> Media</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Human_practices/schools"> School Work</a> |
 
-
        </span>
 
-
        <!--Subnav Ends Here-->
 
-
<li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Lab Journal"> Lab Journal</a> 
 
-
        <!--Subnav Starts Here-->
 
-
        <span>
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekone">Week 1</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weektwo">Week 2</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekthree">Week 3</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekfour">Week 4</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekfive">Week 5</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weeksix">Week 6</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekseven">Week 7</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekeight">Week 8</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weeknine">Week 9</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekten">Week 10</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekeleven">Week 11</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weektwelve">Week 12</a> |       
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekthirteen">Week 13</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekfourteen">Week 14</a> |
 
-
            <a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Weekfifteen">Week 15</a> |
 
-
        <!--Subnav Ends Here-->
 
-
    </li>
 
-
</li>
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/software">Software</a>
 
-
    </li>
 
-
</li>
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/gallery">Photo Gallery</a>
 
-
    </li>
 
-
</li>
 
-
</li>
 
-
    <li><a href="https://2011.igem.org/Team:UEA-JIC_Norwich/Our_Sponsors"> Sponsors</a> 
 
-
    </li>
 
-
</ul>
 
-
<br>
 
-
</html>
 

Latest revision as of 18:40, 18 August 2013