I’ve got a cookie set on my website to remember the background image when someone leaves the site. The cookie is getting set just fine, i can find it in my firefox cookies list, but it’s not setting the background at all.
my site is [url]http://home.mesastate.edu/~wpatters
here’s the code for retrieving the cookie:
if(document.cookie != “”){
changeBack(document.cookie.split(“=”)[1]);
}else{
randomBack();
}
the changeBack function just sets the background style to the cookie’s content. This works fine in firefox locally AND in explorer live, but in firefox live, it gives NO background, so it’s clearly finding the cookie fine… I’ve been wracking my brain on this, it’s driving me insane.