Menu
I can’t get the window to redirect to the correct page in Seamonkey. It works fine in Firefox and IE.
Here is a simple version of what I have:
[CODE]
//html code…
<body onunload=”myFunction()”>
//html code…
function myFunction() {
var test = “www.mysite.com/here/there/everywhere”;
window.top.location.href = test;
}
window.top.location.href doesn’t seem to be working correctly because it goes to “www.mysite.com” instead of “www.mysite.com/here/there/everywhere”
I’ve tried returning “false” and returning the url like “onunload=’window.top.location.href=myFunction()'”
Neither worked.
Any ideas?