This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
emergencysite/ess-site.js
2013-08-18 17:14:09 -05:00

13 lines
315 B
JavaScript
Executable file

function replaceContent(input) {
$(".content")[0].innerHTML = input;
}
function changeColor(input) {
document.body.style.background = input;
}
function loadAnother() {
h(beg + "index.php?q=-1&c=color", function (data) {
replaceContent(data.content);
changeColor(data.color);
});
return false;
}