1. Go here: http://www.blogger.com/comment.g?blogID=20017639&postID=114564375751056109 2. Type something into the comment box 3. Try to close the window
I get a true modal dialog box (not the hack one) in both Firefox and IE on windows. Gmail does a similar thing when you try to leave a page without sending a typed email. -David R On 5/1/06, Serge <[EMAIL PROTECTED]> wrote:
As far as I know only IE has a modal dialog. What about other browsers? There is some workaround, but it will work not in all cases http://www.eggheadcafe.com/articles/javascript_modal_dialog.asp Does anybody know how to make modal dialog in Firefox? regards, Serge ----- Original Message ----- From: "g.wygonik" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Sunday, April 30, 2006 8:40 PM Subject: [Bulk] Re: [Flashcoders] window.onClose -> Flash If you dig in the list archives (if they are still around), i wrote a bit about how i used onBeforeUnload to trigger Flash and i know other people chimed in. In IE-only situations, i found it best to catch the onBeforeUnload event, tell Flash via setVariable, open a modal dialog box (so the main browser won't close) then either have the modal box close itself after a few seconds, or have a localConnection or sharedObject setup to let a Flash movie in the modal dialog know the main Flash was done and it could close itself, which would in turn close the first, main window. whew! :-) There are ways to have a modal box in other browsers, but i don't know the details off the top of my head. fwiw g. On 4/25/06, erixtekila <[EMAIL PROTECTED]> wrote: > > > Le 25 avr. 06, à 23:31, David Rorex a écrit : > > > window.onbeforeunload > Never knew that one. > > I'l check for its availability across platforms. Thanks. >
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com