Home › Forums › Back End › PHP/CSS Style switcher issues & more › Reply To: PHP/CSS Style switcher issues & more
here is my JavaScript page (I only have 1- page.js)
[MOD EDIT – snipped a lot]
function greenpg() {document.body.style.backgroundColor = “green”;}
function bluepg() {document.body.style.backgroundColor = “blue”;}
function limefc() {document.body.style.color = “lime”;}
function purplefc() {document.body.style.color = “purple”;}
function s6() {document.getElementById(“newhtml”).style.fontSize = “6px”;}
function s8() {document.getElementById(“newhtml”).style.fontSize = “8px”;}
function s72() {document.getElementById(“newhtml”).style.fontSize = “72px”;}
function swapStyleSheet(sheet){document.getElementById(‘pagestyle’).setAttribute(‘href’, sheet);}