Template:Regional Europe 2013 mainmenubar

From 2013.igem.org

(Difference between revisions)
(Created page with "<html> <!--Design provided by <a href="https://igem.org/Main_Page">iGEM Main page</a>/--> <div id="navbarcontainer"> <div id="navbar"> <ul id="topnav"> <li style="border-l...")
 
(43 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>/-->
 +
<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>
-
<div id="navbarcontainer">
+
<script type="text/javascript">
-
<div id="navbar">
+
  $(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 style="border-left: 1px solid #ccc;"><a href="https://2013.igem.org/Regions/Europe/Jamboree">Home</a></li>
+
     <li class="navHome">
-
     <li><a href="#">iGEM Competition Europe</a>
+
        <a href="https://2013.igem.org/Europe">\ HOME</a>
 +
    </li>
 +
     <li><a href="#">iGEM COMPETITION EUROPE</a>
-
         <!--Subnav Starts Here /-->
+
         <div class="subNavLeft">
-
        <span>
+
             <a href="https://2013.igem.org/Europe/Pre-Jamboree">PRE-JAMBOREE</a> |
-
             <a href="https://2013.igem.org/Regions/Europe/Pre-Jamboree">Pre-Jamboree</a> |
+
             <a href="https://2013.igem.org/Europe/During-Jamboree">DURING JAMBOREE</a> |
-
             <a href="https://2013.igem.org/Regions/Europe/During-Jamboree">During Jamboree</a> |
+
             <a href="https://2013.igem.org/Europe/Post-Jamboree">POST-JAMBOREE</a>
-
             <a href="https://2013.igem.org/Regions/Europe/Post-Jamboree">Post-Jamboree</a>  
+
        </div>
-
        </span>
 
-
        <!--Subnav Ends Here /-->
 
     </li>
     </li>
-
     <li><a href="#">Travel</a>
+
     <li><a href="#">TRAVEL</a>
-
        <!--
+
 
-
        <!--Subnav Starts Here /-->
+
      <div class="subNavSecond">
-
        <span>
+
          <a href="https://2013.igem.org/Europe/Accomodation">ACCOMODATION</a> |
-
            <a href="https://2013.igem.org/Regions/Europe/Hotels">Hotels</a> |
+
          <a href="https://2013.igem.org/Europe/TravelInfomation">TRAVEL INFORMATION</a>  
-
            <a href="https://2013.igem.org/Regions/Europe/TravelInfomation">Travel Information</a>  
+
      </div>
-
        </span>
+
 
-
        <!--Subnav Ends Here /-->
+
-
        /-->
+
     </li>
     </li>
 +
    <li><a href="https://2013.igem.org/Europe/iGEM_in_short">iGEM IN SHORT</a>
-
    <li><a href="#">Press</a>
 
-
        <!--
 
-
        <!--Subnav Starts Here /-->
 
-
        <span>
 
-
            <a href="https://2013.igem.org/Regions/Europe/Press">Press Information</a> |
 
-
            <a href="https://2013.igem.org/Regions/Europe/InTheMedia">In the Media</a>
 
-
        </span>
 
-
        <!--Subnav Ends Here /-->
 
-
        /-->
 
     </li>
     </li>
 +
    <li><a href="https://2013.igem.org/Europe/Sponsors">SPONSORS</a></li>
 +
    <li><a href="#">DISCOVER LYON</a>
 +
        <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><a href="https://2013.igem.org/Regions/Europe/Sponsors">Sponsors</a></li>
+
</li>
-
    <li><a href="https://2013.igem.org/Regions/Europe/StudyInLyon">Study in Lyont</a></li>
+
     <li><a href="#">GALLERIES</a>
-
     <li><a href="#">About</a>
+
-
        <!--Subnav Starts Here /-->
+
-
        <span>
+
-
          <a href="https://2013.igem.org/Regions/Europe/Organization">Organization</a> |
+
-
<a href="https://2013.igem.org/Regions/Europe/Gallery">Photogallery</a> |
+
-
            <a href="https://2013.igem.org/Regions/Europe/Video">Video's</a>
+
-
        </span>
+
-
</li>
+
-
    <li><a href="https://2013.igem.org/Regions/Europe/Contact">Contact</a></li>
+
 +
        <div class="subNavRight">
 +
            <a href="https://2013.igem.org/Europe/Gallery">PHOTOS</a> |
 +
            <a href="https://2013.igem.org/Europe/Video">VIDEOS</a>
 +
        </div>
 +
 +
    </li>
 +
    <li class="last-child">
 +
        <!--<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 id="navbarsocial">
+
</div>
<!--<div id="flashylink">
<!--<div id="flashylink">
-
<!--
+
<a href="https://2012.igem.org/Championship">World <br> Championship!</a>
-
<a href="https://2011.igem.org/Championship">World <br> Championship!</a>
+
</div> /-->
</div> /-->
-
<a href="http://www.facebook.com/#!/pages/iGEM-2011-Regional-Jamboree-Holland/163036433754542">
 
-
<img src="https://static.igem.org/mediawiki/igem.org/6/63/Fblogo.png"
 
-
    style="margin-right:5px; width:25px; height:25px;"
 
-
    alt="Join iGEM Europe on Facebook!"
 
-
    title="Join iGEM Europe on Facebook!">
 
-
</a>
 
-
<a href="https://twitter.com/intent/user?screen_name=iGEMEurope">
 
-
<img src="https://static.igem.org/mediawiki/igem.org/3/3d/Twitterlogo.png"
 
-
    style="margin-right:75px; width:25px; height:25px;"https://2011.igem.org/Championship
 
-
    alt="Follow iGEM Europe on Twitter!"
 
-
    title="Follow iGEM Europe on Twitter!">
 
-
</a>
 
-
/-->
 
-
</div>
 
-
</div>
 
-
</div>
 
</html>
</html>

Latest revision as of 19:28, 6 November 2013