Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] window.close () not catched
- From: scott at randomchaos.com (Scott Reynen)
- Subject: [Javascript] window.close () not catched
- Date: Mon Apr 24 10:20:24 2006
On Apr 24, 2006, at 9:15 AM, Guillaume wrote: > Except in Safari: this browser allows the window.close only when > the window is opened first. > If you browse to the second image inside this window the > window.close does not work anymore... > > Any idea why ? Can you point to a live example we can look at? I vaguely recall Safari having some odd security-related handling of window management. You might try replacing window.close() with self.close (), or maybe making a reference back to the parent window to close from there, e.g. parent.openedWindowObject.close(). Peace, Scott
- Follow-Ups:
- [Javascript] window.close () not catched
- From: Guillaume
- [Javascript] window.close () not catched
- References:
- [Javascript] window.close () not catched
- From: Guillaume
- [Javascript] window.close () not catched
- Prev by Date: [Javascript] window.close () not catched
- Next by Date: [Javascript] window.close () not catched
- Previous by thread: [Javascript] window.close () not catched
- Next by thread: [Javascript] window.close () not catched
- Index(es):