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:
as well as:Code:<a href="javascript:window.close();">Close window</a>
with the following link code:Code:function TimeoutCloseWindow2() { window.setTimeout("window.close()", 1); } function DirectCloseWindow() { window.close(); }
none of these work according to my client. Please help!Code:<a href="javascript:TimeoutCloseWindow2();">Close window</a> <a href="javascript:DirectCloseWindow();">Close window</a>
EDIT: SORRY, just noticed my client had edited some of the code in frontpage and put in the following code...
*shoots my client*Code:<base target="_blank">
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...




Reply With Quote