Template:Regional Europe 2013 mainmenubar
From 2013.igem.org
(Difference between revisions)
(25 intermediate revisions not shown) | |||
Line 3: | Line 3: | ||
<!--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>/--> | ||
- | <div id="navbarcontainer"> | + | <link rel="stylesheet" type="text/css" href="/Template:Regional_Europe_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("/Europe", "https://static.igem.org/mediawiki/2013/0/01/EuJamLogoiGemLyon.png", $("#p-logo")); | ||
+ | addImageLink("/", "https://static.igem.org/mediawiki/2013/d/dc/EuJamLogoiGem.png", $("#p-logo"), "floatRight igemLogo"); | ||
+ | |||
+ | var socialLinkDiv = $("<div id='socialLinks'></div>"); | ||
+ | addImageLink("https://www.facebook.com/JamboreeLyonIgem?fref=ts", "https://static.igem.org/mediawiki/2013/3/38/EuJamFacebookLogo.png", socialLinkDiv); | ||
+ | addImageLink("https://twitter.com/intent/user?screen_name=iGEM_Lyon", "https://static.igem.org/mediawiki/2013/2/21/EuJamTwitterLogo.png", socialLinkDiv); | ||
+ | |||
+ | $("#search-controls").prepend(socialLinkDiv); | ||
+ | |||
+ | 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> | ||
+ | |||
+ | <div id="navbarcontainer"> | ||
<ul id="topnav"> | <ul id="topnav"> | ||
<li class="navHome"> | <li class="navHome"> | ||
Line 9: | Line 37: | ||
</li> | </li> | ||
<li><a href="#">iGEM COMPETITION EUROPE</a> | <li><a href="#">iGEM COMPETITION EUROPE</a> | ||
- | + | ||
<div class="subNavLeft"> | <div class="subNavLeft"> | ||
<a href="https://2013.igem.org/Europe/Pre-Jamboree">PRE-JAMBOREE</a> | | <a href="https://2013.igem.org/Europe/Pre-Jamboree">PRE-JAMBOREE</a> | | ||
Line 15: | Line 43: | ||
<a href="https://2013.igem.org/Europe/Post-Jamboree">POST-JAMBOREE</a> | <a href="https://2013.igem.org/Europe/Post-Jamboree">POST-JAMBOREE</a> | ||
</div> | </div> | ||
- | + | ||
</li> | </li> | ||
<li><a href="#">TRAVEL</a> | <li><a href="#">TRAVEL</a> | ||
- | + | ||
<div class="subNavSecond"> | <div class="subNavSecond"> | ||
<a href="https://2013.igem.org/Europe/Accomodation">ACCOMODATION</a> | | <a href="https://2013.igem.org/Europe/Accomodation">ACCOMODATION</a> | | ||
<a href="https://2013.igem.org/Europe/TravelInfomation">TRAVEL INFORMATION</a> | <a href="https://2013.igem.org/Europe/TravelInfomation">TRAVEL INFORMATION</a> | ||
</div> | </div> | ||
- | + | ||
</li> | </li> | ||
- | <li> | + | <li><a href="https://2013.igem.org/Europe/iGEM_in_short">iGEM IN SHORT</a> |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
</li> | </li> | ||
<li><a href="https://2013.igem.org/Europe/Sponsors">SPONSORS</a></li> | <li><a href="https://2013.igem.org/Europe/Sponsors">SPONSORS</a></li> | ||
- | <li><a href="https://2013.igem.org/Europe/StudyInLyon">STUDY | + | <li><a href="#">DISCOVER LYON</a> |
- | <li><a href="#"> | + | |
- | + | <div class="subNavMiddle"> | |
+ | <a href="https://2013.igem.org/Europe/StudyInLyon">STUDY</a> | | ||
+ | <a href="https://2013.igem.org/Europe/HaveFun">HAVE FUN</a> | | ||
+ | <a href="https://2013.igem.org/Europe/NightLife">BY NIGHT</a> | ||
+ | </div> | ||
+ | |||
+ | </li> | ||
+ | <li><a href="#">GALLERIES</a> | ||
+ | |||
<div class="subNavRight"> | <div class="subNavRight"> | ||
- | + | <a href="https://2013.igem.org/Europe/Gallery">PHOTOS</a> | | |
- | <a href="https://2013.igem.org/Europe/Gallery">PHOTOS | + | |
<a href="https://2013.igem.org/Europe/Video">VIDEOS</a> | <a href="https://2013.igem.org/Europe/Video">VIDEOS</a> | ||
</div> | </div> | ||
- | + | ||
</li> | </li> | ||
<li class="last-child"> | <li class="last-child"> | ||
- | <a href="https://2013.igem.org/Europe/Contact">CONTACT</a></li> | + | <!--<a href="https://2013.igem.org/Europe/Contact">CONTACT</a> |
+ | <div class="subNavRightLast">--> | ||
+ | <a href="https://2013.igem.org/Europe/Organization">ORGANIZATION</a> | ||
+ | <!--</div>--> | ||
+ | </li> | ||
</ul> | </ul> | ||
</div> | </div> | ||
- | |||
<!--<div id="flashylink"> | <!--<div id="flashylink"> | ||
Line 54: | Line 87: | ||
</div> /--> | </div> /--> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</html> | </html> |
Latest revision as of 19:28, 6 November 2013