Hello everyone, long time lurker, first time poster.
Chaotic, I'm a big fan of what you're doing with Virtual Date Girls. Keep up the good work.
I've been reading the code and fixing the things that keep this from working on IE. Here are the issues I've fixed so far.
First, it appears that HELLOWORLD.html isn't deleting the cookies. I made the following change, and it's working for me now.
function del_cookie1(name) {
document.cookie = name + "=; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/";
}
You don't need to make all of those functions. You can just keep calling del_cookie1 over and over.
del_cookie1("ERCinf1");
del_cookie1("ERCinf2");
del_cookie1("ERCinf3");
del_cookie1("ERCdri1");
del_cookie1("ERCdri2");
del_cookie1("ERCdri3");
del_cookie1("ERCdrs");
del_cookie1("ERCcost");
del_cookie1("ERCoff");
del_cookie1("ERCcas");
del_cookie1("ERCcent");
del_cookie1("ERCshop");
del_cookie1("ERCrest");
del_cookie1("ERCbar");
del_cookie1("ERCclub");
del_cookie1("ERCcam");
del_cookie1("ERCdil");
del_cookie1("ERCss");
del_cookie1("ERClei");
del_cookie1("ERCsclub");
del_cookie1("ERChomecost");
That's just for your convienience though. Adding the path is what made the cookies start clearing for me.
The bigger deal, though, is the way you're checking the cookies.
Everywhere you have:
var start = document.cookie.indexOf(cookieName);
(ie store1_check.html) I believe you mean:
var start = document.cookie.indexOf(cookieName + "=");
I made that change in all of the *check* files and the 4 other files I found the issue in (club20.html, home1.html, homecheck6.html, and ss_10.html).
With those changes, VDG is working in IE8 for me. I still have a few smaller issues (sometimes I still have to close the browser to
clear the cookies and sometimes I get a black screen after allowing scrïpts in the first tutorial), but these changes let me play.
If things still work in Firefox with those changes, it would be really cool if you could make them in your full distribution.
Firefox works and all, but you'll reach a larger audience if you don't make people install a new browser to play.
tlaero