Difference between revisions of "Template:IONIS Paris/JS"

Line 40: Line 40:
 
});
 
});
  
$(document).ready(
+
jQuery('.navbar .nav > li > a').click(function(){
  function () {
+
jQuery('.navbar-collapse.navbar-ex1-collapse.in').removeClass('in').addClass('collapse').css('height', '0');
    $('nav > ul > li:has(ul) > a').attr('href', function (i, val) { return val + '#'; });
+
});
  }
+
);
+
 
</script>
 
</script>
  
 
</head>
 
</head>
 
</html>
 
</html>

Revision as of 20:06, 4 August 2015