Difference between revisions of "Team:Gaston Day School/Notebook"
Line 69: | Line 69: | ||
prevDay = month+""+day; | prevDay = month+""+day; | ||
document.getElementById(month+""+day).style.display = "block"; | document.getElementById(month+""+day).style.display = "block"; | ||
− | window.scrollTo(0,document.getElementById(month+""+day).getBoundingClientRect().bottom-document.getElementById(month+""+day).getBoundingClientRect().top); | + | window.scrollTo(0,document.getElementById(month+""+day).childNodes[0].getBoundingClientRect().bottom-document.getElementById(month+""+day).getBoundingClientRect().top); |
} | } | ||
function enbl(month) | function enbl(month) |
Latest revision as of 02:42, 19 September 2015
Notebook
July | August |
July | ||||||
---|---|---|---|---|---|---|
Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday |
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 | ||||||
---|---|---|---|---|---|---|
Sunday | Monday | Tuesday | Wednesday | Thursday | Friday | Saturday |
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 |