If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Cookies and Internet Explorer

I'm trying to have a user who visits my site be able to select the style sheet they'd like to see and it save as a cookie. I was given some javascript that would help me out and it has to a certain extent. With firefox the user can select the style and it saves, all is well. With Internet Explorer 6 and Service Pack 2 installed the style doesn't get saved and it reverts back to the default. I've tested this on several computers all with Service Pack 2 and IE6. I have no idea why it does. I don't get any errors. If anyone could help me out that would be great, I am very new to Javascript and know nothing about it. My site is www.dempsey.cjb.net and here is the javascript that I currently use.

Thanks for your quick reply. Well it was tried at several different computers, the people who did it wouldn't know how to turn cookies off. I know on my computer they aren't turned off. Is that what you mean?

Try alerting document.cookie after it is set and as the style is loaded. I have no IE SP2 so I can't see the default cookie settings but I know that with SP2, IE becomes stricter. Look at the Privacy tab of the Internet Options.

I'm sorry glenngv but i'm really new at javascript could you perhaps fully write out exactly what I should try, I have no clue how to go about what you suggested. Thanks for your help. I really do appreciate it.