Team:Alberta/Header

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<center><html><img src="https://static.igem.org/mediawiki/2009/a/a1/UofA_HeaderBanner.jpg" width="900" height="216"></html></center>
+
<html>
 +
<link rel="stylesheet" type="text/css" href="http://www.ualberta.ca/~enoch/Header3/headercss.css" />
 +
<link rel="stylesheet" type="text/css" href="http://www.ualberta.ca/~enoch/Header3/dropdowncss.css" />
 +
<!--[if IE]>
 +
<style type="text/css">
 +
#utilNav ul li {list-style-image: none;}
 +
#suppNav ul li {list-style-image: none;}
 +
#mainNav ul li {list-style-image: none;}
 +
</style>
 +
<![endif]-->
 +
<script type="text/javascript" src="http://www.ualberta.ca/~enoch/Header3/JAVA.js"></script>
 +
<script type="text/javascript">
 +
function ddnav() {
 +
$('#ddNav li').hover(
 +
function () {
 +
$(this).find('div:first').css('display','block');},
 +
function () {
 +
$(this).find('div:first').css('display','none');}
 +
);
 +
}
 +
function ddnavsub() {
 +
$('#ddNav span > a').toggle(
 +
function () {
 +
$(this).removeClass("expand").addClass("collapse");
 +
$(this).parent().find('div:first').slideDown('fast');
 +
$(this).hover(
 +
function (){$(this).css('background-color','#e5e5e0')},
 +
function (){$(this).css('background-color','#e5e5e0')});},
 +
function () {
 +
$(this).removeClass("collapse").addClass("expand");
 +
$(this).parent().find('div:first').css('display','none');
 +
$(this).hover(
 +
function (){$(this).css('background-color','#F5F5F0')},
 +
function (){$(this).css('background-color','#FFFFFF')});}
 +
).addClass('expand');
 +
}
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
+
function ddmozilla() {
-
<head>
+
ddtoggle();
-
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+
}
-
<link rel="stylesheet" type="text/css" href="http://www.ualberta.ca/~enoch/chromestyle3.css" />
+
 +
$(function () {
 +
ddnav();
 +
ddnavsub();
-
<script type="text/javascript" src="http://www.ece.ualberta.ca/~jrodway/chrome.js"></script>
+
if($.browser.mozilla) {ddmozilla();}
 +
});
 +
</script>
 +
<center>
 +
<div id="header">
 +
<img src="https://static.igem.org/mediawiki/2009/a/a1/UofA_HeaderBanner.jpg" width="900" height="216">
-
<div class="chromestyle" id="chromemenu">
+
<!-- logo -->
-
<ul>
+
<div id="logo">
-
<li><a href="http://www.ualberta.ca/">Home</a></li>
+
-
<li><a href="#" rel="dropmenu1">Website</a></li>
+
-
<li><a href="#" rel="dropmenu2">Wiki</a></li>
+
-
<li><a href="#" rel="dropmenu3">Search Engine</a></li>
+
-
<li><a href="#" rel="dropmenu4">Email</a></li>
+
-
</ul>
+
</div>
</div>
 +
<!-- END logo -->
-
<div id="dropmenu1" class="dropmenudiv">
+
<!-- main navigation -->
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/1">About Us</a>
+
<div id="mainNav">
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/4">iGEM</a>
+
<ul id="ddNav">
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/3">The Team</a>
+
<li>
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/5">Project Overview</a>
+
<a>The Team</a>
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/2">Sponsors</a>
+
<div>
-
<a href="http://igem.biochem.ualberta.ca/extsite/?q=node/6">Recruitment</a>
+
<a href="http://igem.biochem.ualberta.ca/extsite/node/3">Team Members</a>
-
</div>
+
</div>
 +
</li>
 +
<li>
 +
<a>The Project</a>
 +
<div>
 +
<a href="http://igem.biochem.ualberta.ca/extsite/node/1">About Us</a>
 +
<span>
 +
<a>Overview</a>
 +
<div>
 +
<a href="http://igem.biochem.ualberta.ca/extsite/node/6">Recruitment</a>
 +
<a href="http://igem.biochem.ualberta.ca/extsite/node/5">Summary</a>
 +
</div>
 +
</span>
 +
                        <a href="http://igem.biochem.ualberta.ca/wiki/index.php/Protocols">Protocols</a>
 +
</div>
 +
</li>
 +
<li>
 +
<a href="https://2009.igem.org/Team:Alberta">Home Notebook</a>
 +
        </li>
 +
</ul>
-
<div id="dropmenu2" class="dropmenudiv" style="width: 150px;">
 
-
<a href="http://igem.biochem.ualberta.ca/wiki/index.php/Main_Page">Main Page</a>
 
-
<a href="http://igem.biochem.ualberta.ca/wiki/index.php/Protocols">Protocols</a>
 
-
<a href="http://igem.biochem.ualberta.ca/wiki/index.php/People">People</a>
 
</div>
</div>
-
<div id="dropmenu3" class="dropmenudiv" style="width: 150px;">
+
<!-- END main navigation -->
-
<a href="http://www.google.com/">Google</a>
+
-
<a href="http://www.yahoo.com">Yahoo</a>
+
-
<a href="http://www.msn.com">MSN</a>
+
-
</div>
+
-
<div id="dropmenu4" class="dropmenudiv" style="width: 150px;">
 
-
<a href="http://www.gmail.com/">Gmail</a>
 
-
<a href="http://www.hotmail.com">Hotmail</a>
 
-
<a href="https://webmail.ualberta.ca">Webmail</a>
 
</div>
</div>
 +
</center>
 +
</html>
-
<script type="text/javascript">
+
<br>
-
 
+
<br>
-
cssdropdown.startchrome("chromemenu")
+
<br>
-
 
+
-
</script>
+
-
 
+
-
</head>
+
-
 
+
-
</html>
+

Revision as of 16:07, 15 July 2009