Difference between revisions of "Template:DalhousieNavBar"

Line 10: Line 10:
 
   <script type="text/javascript" src="https://2016.igem.org/Team:Dalhousie_Halifax_NS/libraries/bootstrapjs?action=raw&ctype=text/javascript"></script>
 
   <script type="text/javascript" src="https://2016.igem.org/Team:Dalhousie_Halifax_NS/libraries/bootstrapjs?action=raw&ctype=text/javascript"></script>
 
   <script type="text/javascript" src="https://2016.igem.org/Team:Dalhousie_Halifax_NS/libraries/smoothscrolling?action=raw&ctype=text/javascript"></script>
 
   <script type="text/javascript" src="https://2016.igem.org/Team:Dalhousie_Halifax_NS/libraries/smoothscrolling?action=raw&ctype=text/javascript"></script>
 +
  <script type="text/javascript" src="https://2016.igem.org/Team:Dalhousie_Halifax_NS/libraries/autohide-navbar?action=raw$ctype=text/javascript"</script>
 +
  <script type="text/javascript">
 +
var element = $(selector);
 +
 +
element.on("show.autoHidingNavbar", function() {
 +
  // on show
 +
});
 +
 +
element.on("hide.autoHidingNavbar", function() {
 +
 +
});
 +
</script>
 
   <style type='text/css'>
 
   <style type='text/css'>
 
     #top_title, #sideMenu{
 
     #top_title, #sideMenu{

Revision as of 23:27, 13 August 2016