I could easily do it in PHP, but I cant use any server-side code
Anyways, here is the code that I found, that does an action similiar to what i want
Code:
<script language="JavaScript">
<!--
var backColor = new Array(); // don't change this
backColor[0] = '#FF0000';
backColor[1] = '#00FF00';
backColor[2] = '#0000FF';
backColor[3] = '#FFFFFF';
function changeBG(whichColor){
document.bgColor = backColor[whichColor];
}
//-->
</script>
Then I make links with changeBG(0->3)
anyways, I want to do the same thing, but not change background color, but change a bunch of things, like color schemes for the site, so user can click green, and site is green (like all the images, I can make different folders for them or what not and have it do /green/ instead of /blue/ etc..
any ideas?