This works in FF but not in IE6:
if (GetCookie("setm") >" ") top.frames['main'].document.location.href
= GetCookie("setm");
But why ?
What is GetCookie?
Sorry it works, the error was in another script:
else SetCookie("setm"," ");
But I have this other problem:
This is ok offline:
var url = document.location.href.substring(39);
but online I need to change the number because the
the string has not the same length,
so I tryed this:
var url = document.location.href.substring("leisure",8);
I did work yesterday, but for some reason not yet,
is there an error there ?
Or is there another way to retrieve
the document filename like: "some.html"