-
close.window()
sorry I know those URGENT thingies are annoying but a client is trying to get something out in the next half hour and I cannot get close.window to work for IExplorer. The client says they get a message asking if they want to close then window, then upon clicking yes nothing happens. I have tried a simple:
Code:
<a href="javascript:window.close();">Close window</a>
as well as:
Code:
function TimeoutCloseWindow2()
{
window.setTimeout("window.close()", 1);
}
function DirectCloseWindow()
{
window.close();
}
with the following link code:
Code:
<a href="javascript:TimeoutCloseWindow2();">Close window</a>
<a href="javascript:DirectCloseWindow();">Close window</a>
none of these work according to my client. Please help!
EDIT: SORRY, just noticed my client had edited some of the code in frontpage and put in the following code...
Code:
<base target="_blank">
*shoots my client*
EDIT 2: I guess you can delete this post or lock it, but it can serve for reference if anyone is looking for how to close an IE window, lol...