Code is <i> </i> function funLogOff(){ var y = window.confirm("Do You Want to Log Off !!!"); if (!y) { return false; } else { window.parent.close(); } }
@felgallFeb 09.2008 — #perhaps put a onBlur event with self.Close() function on it ?[/QUOTE]
That probably will not help much as few browsers support onblur on windows since the standards say that onblur is only valid for form fields and links. It may fix it for Firefox but the problem will still be there for other brwsers.