Difference between revisions of "Team:Lethbridge HS"

Line 29: Line 29:
 
                     setCookie("projectType", "2", 365);  
 
                     setCookie("projectType", "2", 365);  
 
                 }
 
                 }
                jQuery(document).ready(function() {
+
                   
+
                  jQuery(function() {
+
  jQuery('a[href*=#]:not([href=#])').click(function() {
+
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
+
      var target = jQuery(this.hash);
+
      target = target.length ? target : jQuery('[name=' + this.hash.slice(1) +']');
+
      if (target.length) {
+
        jQuery('html,body').animate({
+
          scrollTop: target.offset().top
+
        }, 1000);
+
        return false;
+
      }
+
    }
+
  });
+
});
+
                   
+
 
+
 
                  
 
                  
 
                  
 
                  

Revision as of 23:14, 3 September 2015

Biofilms and Beeyond

This year we chose to tackle two projects: Bees and Biofilms

You can click on one of the icons above to learn about that project.

You can switch between the projects later on by clicking the Bee/Biofilms icon in the nivagation bar