Team:NYMU-Taipei/TopBar

From 2014.igem.org

(Difference between revisions)
m
m
 
(7 intermediate revisions not shown)
Line 16: Line 16:
   line-height:50px;
   line-height:50px;
}
}
-
div.navbt{
+
span.navbt{
   width:150px;
   width:150px;
   height:50px;
   height:50px;
Line 84: Line 84:
             }, 300, 'easeOutSine');
             }, 300, 'easeOutSine');
         });
         });
 +
    $(window).scroll(function (event){
 +
        var y = $(this).scrollTop();
 +
        $('#flow_div').css({
 +
            top:250+y,
 +
        });
 +
    });
});
});
</script>
</script>
Line 89: Line 95:
<nav class="navigation">
<nav class="navigation">
   <li>
   <li>
-
      <a href="https://2014.igem.org/Team:NYMU-Taipei/news">
+
<a href="https://2014.igem.org/Team:NYMU-Taipei/synthetic">
-
        <div class="navbt navbt1" style="margin-top:1px;">synthetic biology</div>
+
<span class="navbt navbt1" style="margin-top:1px;display:block;" >synthetic biology</span>
-
      </a>
+
</a>
   </li>
   </li>
   <li>
   <li>
-
      <a href="https://2014.igem.org/Team:NYMU-Taipei/nymu">
+
<a href="https://2014.igem.org/Team:NYMU-Taipei/nymu">
-
          <div class="navbt navbt2" style="margin-top:-10px;">NYMU-Taipei</div>
+
<span class="navbt navbt2" style="margin-top:-10px;display:block;">NYMU-Taipei</span>
-
      </a>   
+
</a>   
   </li>
   </li>
   <li>
   <li>
-
      <a href="https://2014.igem.org/Team:NYMU-Taipei/synthetic">
+
<a href="https://2014.igem.org/Team:NYMU-Taipei/news">
-
          <div class="navbt navbt3" style="margin-top:20px;">News</div>
+
<span class="navbt navbt3" style="margin-top:20px;display:block;">News</span>
-
      </a>
+
</a>
   </li>
   </li>
</nav>
</nav>
</html>
</html>

Latest revision as of 12:04, 5 May 2014