Redcircle wrote:if there are any header('Location:") calls make sure you use the full URL
Without code being posted I really don't know what is happening.
This is the code that I have. It works with IE, but not Netscape
In Netscape it asks me to save the file or launch the file.
If I launch the file it works.
The problem is why does it ask me???:?
Code: Select all
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide script from older browsers
// BEGIN - Positions the window in the center of the screen
//var w = 30, h = 10;
if (document.all || document.layers)
{
w = screen.availWidth;
h = screen.availHeight;
}
function cheatCloseWin ()
{
win = top;
//Open the destination u want
destination = "window.open('http://www.cnn.com','openSignIn','left= 0, top=0, width= "+w+", height="+h+", toolbar,location,directories,status,menubar,scrollbars,resizable');"
eval(destination);
// lying: close the opener.
win.opener = top;
win.close ();
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="cheatCloseWin()">