View Full Version : Background Image and text color changer for a WEBSITE (not a single page)

01-03-2007, 12:34 AM
im trying to add a function to a website i'm building that will change the background image and text color (so that it will be easier to read) for the entire website. All the codes i can find show how to do either but not both and they only show how to do it for a single page, as soon as you navigate to another page in the site, it is lost. Every time i try to write my own script i am unsuccessful. I think i need to store the data in a cookie that will be called upon during the page load, but im unsure how to do this.

if you could give me a template it would be most apreciated

DHTML Kitchen
01-04-2007, 11:28 PM
Persist the change in a css file.

POST the change to the server, then save the file, delete the file when the session expires.