The forums ran from 2008-2020 and are now closed and viewable here as an archive.

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() { = “green”;}
function bluepg() { = “blue”;}
function limefc() { = “lime”;}
function purplefc() { = “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);}