Template:North America 2013 mainmenubar
From 2013.igem.org
(Difference between revisions)
(23 intermediate revisions not shown) | |||
Line 2: | Line 2: | ||
<!--Design provided by <a href="https://igem.org/Main_Page">iGEM Main page</a>/--> | <!--Design provided by <a href="https://igem.org/Main_Page">iGEM Main page</a>/--> | ||
+ | |||
+ | <link rel="stylesheet" type="text/css" href="/Template:North_America_2013_Page_CSS?action=raw&ctype=text/css" > | ||
+ | <!-- jQuery library (served from Google) --> | ||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | addImageLink("/", "https://static.igem.org/mediawiki/igem.org/c/ce/IGEM_NorthAmerica_logo_2013.png", $("#p-logo")); | ||
+ | addImageLink("/", "https://static.igem.org/mediawiki/2013/d/dc/EuJamLogoiGem.png", $("#p-logo"), "floatRight igemLogo"); | ||
+ | |||
+ | |||
+ | function addImageLink(link, image, node, imageClass) { | ||
+ | var linkNode = $("<a href='" + link + "'></a>"); | ||
+ | var imageNode = new Image(); | ||
+ | imageNode.src = image; | ||
+ | imageNode.className = imageClass; | ||
+ | node.append(linkNode.append(imageNode)); | ||
+ | |||
+ | } | ||
+ | |||
+ | }); | ||
+ | </script> | ||
Line 7: | Line 30: | ||
<div id="navbar"> | <div id="navbar"> | ||
<ul id="topnav"> | <ul id="topnav"> | ||
- | <li style="border-left: 1px solid #ccc;"><a href="https://2013.igem.org/North_America">Home</a></li> | + | <li style="border-left: 1px solid #ccc;"> |
- | <li><a href=" | + | <a href="https://2013.igem.org/North_America">Home</a> |
+ | </li> | ||
+ | <li><a href="">iGEM Competition</a> | ||
<!--Subnav Starts Here /--> | <!--Subnav Starts Here /--> | ||
<span> | <span> | ||
- | + | <a href="https://2013.igem.org/North_America/Pre-Jamboree" style= "text-align: center">Pre-Jamboree</a> | |
- | + | <a href="https://2013.igem.org/North_America/During_Jamboree" style= "text-align: center">During Jamboree</a> | |
</span> | </span> | ||
<!--Subnav Ends Here /--> | <!--Subnav Ends Here /--> | ||
Line 20: | Line 45: | ||
<!--Subnav Starts Here /--> | <!--Subnav Starts Here /--> | ||
<span> | <span> | ||
- | <a href="https://2013.igem.org/North_America/Hotels">Hotels</a> | + | <a href="https://2013.igem.org/North_America/Hotels" style= "text-align: center">Hotels</a> |
- | <a href="https://2013.igem.org/North_America/Toronto">Travel</a> | + | <a href="https://2013.igem.org/North_America/Toronto"style= "text-align: center">Travel</a> |
+ | <a href="https://2013.igem.org/North_America/Map"style= "text-align: center">Map</a> | ||
</span> | </span> | ||
<!--Subnav Ends Here /--> | <!--Subnav Ends Here /--> | ||
</li> | </li> | ||
- | |||
Line 31: | Line 56: | ||
- | <li><a href="https://2013.igem.org/North_America">Sponsors</a></li> | + | <li><a href="https://2013.igem.org/North_America/sponsors">Sponsors</a></li> |
- | <li><a href="https://2013.igem.org/North_America">About</a> | + | <li><a href="https://2013.igem.org/North_America/about">About</a> |
- | + | ||
</li> | </li> | ||
- | <li><a href="https://2013.igem.org/North_America">Contact</a></li> | + | <li><a href="https://2013.igem.org/North_America/After_the_Jamboree">After the Jamboree</a> |
+ | </li> | ||
+ | </li> | ||
+ | <li><a href="https://2013.igem.org/North_America/Media">Media</a> | ||
+ | </li> | ||
+ | <li class="last-child"> | ||
+ | <a href="https://2013.igem.org/North_America/Contact">Contact</a></li> | ||
+ | |||
</ul> | </ul> | ||
Latest revision as of 17:14, 17 October 2013