Team:Gaston Day School/Notebook

From 2014.igem.org

(Difference between revisions)
Line 329: Line 329:
                 if (direction == "up")
                 if (direction == "up")
                 {
                 {
-
                     monthSelector++;
+
                     monthSelector+= monthSelector%7;
                 }
                 }
                 else if (direction == "down")
                 else if (direction == "down")
                 {
                 {
-
                     monthSelector--;
+
                     monthSelector-= monthSelector%7
                 }
                 }
                 console.log(monthSelector);
                 console.log(monthSelector);

Revision as of 01:50, 26 September 2014

Welcome to the 2014 GDS iGEM Wiki

Calendar (Click on the Number to Link to Notebook Page)

March 2014
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
April 2014
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
May 2014
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
June 2014
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          
July 2014
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
August 2014
Sun Mon Tue Wed Thu Fri Sat
     12
3456789
10111213141516
17181920212223
24252627282930
31      

September 2014
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
282930