Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Background Image and text color changer for a WEBSITE (not a single page)

    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

  • #2
    Regular Coder
    Join Date
    Mar 2004
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Persist the change in a css file.

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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •