Difference between revisions of "Team:Lethbridge HS"

Line 15: Line 15:
 
             <script type="text/javascript">
 
             <script type="text/javascript">
 
                
 
                
  function setCookie(cname, cvalue, exdays) {
+
      function setCookie(cname, cvalue, exdays) {
 
     var d = new Date();
 
     var d = new Date();
 
     d.setTime(d.getTime() + (exdays*24*60*60*1000));
 
     d.setTime(d.getTime() + (exdays*24*60*60*1000));
Line 21: Line 21:
 
     document.cookie = cname + "=" + cvalue + "; " + expires;
 
     document.cookie = cname + "=" + cvalue + "; " + expires;
 
}
 
}
 +
             
 +
                   
 +
         
 +
          function getCookie(cname) {
 +
    var name = cname + "=";
 +
    var ca = document.cookie.split(';');
 +
    for(var i=0; i<ca.length; i++) {
 +
        var c = ca[i];
 +
        while (c.charAt(0)==' ') c = c.substring(1);
 +
        if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
 +
    }
 +
    return "";
 +
}         
 +
         
 
                  
 
                  
 
                 function functionBees(){
 
                 function functionBees(){

Revision as of 23:30, 10 September 2015

Biofilms and Beyond

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