This example simply uses the onUnload function of the Body.  Which means
each time you change pages, the pop up window would be created.  This is not
the desired outcome.  I think the only way is with using frames and the
associated onUnload for them.

Sean





-----Original Message-----
From: David Nesbitt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 13, 2000 9:24 AM
To: Fusebox
Subject: Re: pop-up on leaving my site


> -----Original Message-----
> Is there no way you can write a function that determines
> where the browser  is going to. Then when the page unloads,
> you only display a message when it the user leaves the site (or
> closes their browser).


Check out:

Q1483 How can I pop up a window on leaving a site @
http://developer.irt.org/script/1483.htm

I think that does the trick.



: David Nesbitt
: Web Developer (ColdFusion)
: Ottawa, ON Canada
: (e) [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to