[thelist] Survey popup

Jonathan Snook jonathan.snook at gmail.com
Mon Apr 23 08:22:05 CDT 2007

the onunload doesn't really solve the problem as the user leaves every page.
You'd be better off attaching an onclick event to any external link. But
even then, who's to say the user isn't opening a new window and still
remaining on the site. Although, you could possibly be sneaky and store a
variable indicating an external link has been clicked and then using the
onunload event to confirm that the page is unloading within a fraction of
having clicked the external link. Seems like a lot of work but it could

On 4/23/07, Robert Gormley <robert at pennyonthesidewalk.com> wrote:
> <body onUnload="...">
> > -----Original Message-----
> > From: thelist-bounces at lists.evolt.org [mailto:thelist-
> > bounces at lists.evolt.org] On Behalf Of Bill Moseley
> > Sent: Sunday, April 22, 2007 11:26 PM
> > To: thelist at lists.evolt.org
> > Subject: [thelist] Survey popup
> >
> > The word came in that the client wants a survey to popup when someone
> > is *leaving* the site.
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !

More information about the thelist mailing list