Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

?
Lv 6

Need help with script for website colour scheme chooser?

I am planning on adding a feature to my website which will allow the users to choose between 1 of 4/5 different colour schemes, is it possible to script my website so when the user clicks on the link for the other colour schemes that the website will remember their colour choice for in the future?

1 Answer

Relevance
  • 9 years ago
    Favourite answer

    Yes, you can either save the user data on your server (if you have user logins) or store the data on the person's computer using cookies (easier, simpler).

    See here for information about cookies: http://www.w3schools.com/js/js_cookies.asp

Still have questions? Get answers by asking now.