Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
08-24-2010, 04:44 PM #1
- Join Date
- Nov 2008
- Thanked 0 Times in 0 Posts
I hope I have this post in the right place! Any help would be very much appreciated...
This works perfectly locally (i.e. when previewing my website on my computer) but now it is uploaded to my host it doesn't appear to be working. (with the same browser)
In the head I have:
...then I have: <body onload="set_style_from_cookie()">
...and for users to choose which background:
<input type="image" src="../images/white-background-thumb.jpg"
name="theme" value="White" id="bg1">
My problem is: The background reverts back to the default when moving to a different page. This would indicate that the background choice is not being saved in cookies. But this works locally!
I hope someone can help, I will be so grateful if I can get this to work.
Many thanks indeed!
Last edited by mike21bass; 08-25-2010 at 12:42 PM.