Difference between revisions of "Team:Dundee/navbar"

Line 99: Line 99:
 
<script type="text/javascript">
 
<script type="text/javascript">
  
      $(function() {
+
 
  //navbar affix
+
  $('#nav').affix({
+
    offset: {
+
      top: $('header').height()
+
    }
+
  });
+
});
+
  
 
       $('#nav .navbar-nav li>a').click(function(){
 
       $('#nav .navbar-nav li>a').click(function(){

Revision as of 08:55, 18 August 2015