Difference between revisions of "Team:NYU Abu Dhabi"

 
(22 intermediate revisions by the same user not shown)
Line 32: Line 32:
  
 
             var links = [
 
             var links = [
                 ["bio", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Biology"],
+
                 ["bio", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Description"],
                 ["engineering", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Engineering"],
+
                 ["engineering", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Description"],
 
                 ["demo", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Demonstrate"],
 
                 ["demo", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Demonstrate"],
 
                 ["integrated", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Gold_Integrated"],
 
                 ["integrated", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Gold_Integrated"],
Line 39: Line 39:
 
                 ["englab", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Engineering"],
 
                 ["englab", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Engineering"],
 
                 ["design", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Applied_Design"],
 
                 ["design", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Applied_Design"],
                 ["model", ""],
+
                 ["app", "https://2017.igem.org/Team:NYU_Abu_Dhabi/HP/Silver"],  
 
                 ["attributions", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Attributions"],
 
                 ["attributions", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Attributions"],
 
                 ["team", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Team"],
 
                 ["team", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Team"],
Line 45: Line 45:
 
                 ["results", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Results"],
 
                 ["results", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Results"],
 
                 ["protocols", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Protocols"],
 
                 ["protocols", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Protocols"],
                 ["biolab", ""]
+
                 ["biolab", "https://2017.igem.org/Team:NYU_Abu_Dhabi/Biology"]
 
             ]
 
             ]
  
             for (var i = 0; i < links.length; i++) {
+
             links.forEach(function (link) {
                var current_link = links[i];
+
                 $(svg.getElementById(link[0])).hover(function () {
                 $(svg.getElementById(current_link[0])).hover(function () {
+
 
                     $(this).css('cursor', 'pointer');
 
                     $(this).css('cursor', 'pointer');
 
                 }, function () {
 
                 }, function () {
 
                     $(this).css('cursor', 'auto');
 
                     $(this).css('cursor', 'auto');
                 }).onclick(function() {window.location.href = current_link[0];});
+
                 }).click(function () {
             }
+
                    window.location.href = link[1];
        }
+
                });
    </script>
+
             });
    <style>
+
        @font-face {
+
            font-family: Corbel;
+
            src: url('2017.igem.org/wiki/images/6/6d/Corbel.ttf');
+
        }
+
  
        @font-face {
 
            font-family: Corbel;
 
            font-weight: bold;
 
            src: url('2017.igem.org/wiki/images/5/5d/Corbelb.ttf');
 
        }
 
  
        @font-face {
 
            font-family: Corbel;
 
            font-weight: italic;
 
            src: url('2017.igem.org/wiki/images/7/79/Corbeli.ttf');
 
 
         }
 
         }
     </style>
+
     </script>
 
+
 
</head>
 
</head>
  
Line 83: Line 67:
 
         <!-- Navbar -->
 
         <!-- Navbar -->
 
         <nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
 
         <nav class="navbar navbar-expand-lg fixed-top navbar-light bg-light">
             <a class="navbar-brand" href="#">
+
             <a class="navbar-brand" href="https://2017.igem.org/Team:NYU_Abu_Dhabi">
 
                 <img src="https://static.igem.org/mediawiki/2017/0/0d/T--NYU_Abu_Dhabi--horizontal-logo.png" alt="" />
 
                 <img src="https://static.igem.org/mediawiki/2017/0/0d/T--NYU_Abu_Dhabi--horizontal-logo.png" alt="" />
 
             </a>
 
             </a>
Line 154: Line 138:
 
         </nav>
 
         </nav>
  
         <!-- BEGIN CONTENT HERE -->
+
         <!-- BEGIN CONTENT HERE https://static.igem.org/mediawiki/2017/b/b2/FinalImg.svg-->
 
+
  
         <object id="hero-image" data="https://static.igem.org/mediawiki/2017/e/e9/Mainimg.svg" type="image/svg+xml"> </object>
+
         <object id="hero-image" data="https://static.igem.org/mediawiki/2017/b/b2/FinalImg.svg" type="image/svg+xml"> </object>
  
 
         <!-- END CONTENT HERE -->
 
         <!-- END CONTENT HERE -->

Latest revision as of 17:44, 31 October 2017