-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscript.js
35 lines (31 loc) · 1.2 KB
/
script.js
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
32
33
34
35
$(document).ready(function () {
$('div.hidden').fadeIn(1000);
});
function redTheme(elem){
if (elem.checked){
// alert("Im checked"); test code
// this needs to remove the td elements and add one cal103
$("body").css("background-color", "red"); // this removes all of the <td> elements that need to be cleared for 103
}
}
function blueTheme(elem){
if (elem.checked){
// alert("Im checked"); test code
// this needs to remove the td elements and add one cal103
$("body").css("background-color", "cyan"); // this removes all of the <td> elements that need to be cleared for 103
}
}
function greenTheme(elem){
if (elem.checked){
// alert("Im checked"); test code
// this needs to remove the td elements and add one cal103
$("body").css("background-color", "green"); // this removes all of the <td> elements that need to be cleared for 103
}
}
function pinkTheme(elem){
if (elem.checked){
// alert("Im checked"); test code
// this needs to remove the td elements and add one cal103
$("body").css("background-color", "pink"); // this removes all of the <td> elements that need to be cleared for 103
}
}