Difference between revisions of "Team:Lethbridge HS"

Line 15: Line 15:
 
                
 
                
 
      
 
      
         
+
            function delete_cookie(name){
 +
                          document.cookie = name +'=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;';
 +
              }
 
                  
 
                  
 
                 function functionBees(){
 
                 function functionBees(){
 
                   var cookieValue = null;
 
                   var cookieValue = null;
 +
                  delete_cookie("projectType");
 
                     cookieValue = getCookie("projectType");
 
                     cookieValue = getCookie("projectType");
 
                 setCookie("projectType", "1", 365);
 
                 setCookie("projectType", "1", 365);
Line 26: Line 29:
 
                 function functionBiofilms(){
 
                 function functionBiofilms(){
 
  var cookieValue = null;
 
  var cookieValue = null;
 +
  delete_cookie("projectType");
 
                     cookieValue = getCookie("projectType");
 
                     cookieValue = getCookie("projectType");
 +
 
                     setCookie("projectType", "2", 365);
 
                     setCookie("projectType", "2", 365);
  

Revision as of 12:57, 12 September 2015

Biofilms and Beeyond

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

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

You can switch between the projects later by clicking the Biofilm/Bee icon in the navigation bar