There is a way, it is all JavaScript. Let me check my resources and I willl
post it.
Donald Pavlik
----- Original Message -----
From: "Adam Reynolds" <[EMAIL PROTECTED]>
To: "Fusebox" <[EMAIL PROTECTED]>
Sent: Wednesday, December 13, 2000 3:55 AM
Subject: RE: pop-up on leaving my site
> 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).
>
> -----Original Message-----
> From: Nat Papovich [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 12, 2000 7:17 PM
> To: Fusebox
> Subject: RE: pop-up on leaving my site
>
> That will work, but it will open the window for every new page, because
the
> body unloads.
>
> The only way I can think of doing it with JS (short of the funkadelic
stuff
> you mention about HTTP headers) is to open a second window when the user
> hits the page and minimize that window and send the focus back to the main
> page. Then, everytime you load the main window, the secondary window asks
> what href it is. If it's not from your site, then focus the secondary
> window
> and display your contents.
>
> I can't think of a graceful way to do this with just a JS based solution.
>
> Nat Papovich
> Webthugs Consulting
> ICQ 32676414
> "People don't know the bandwidth of a FedEx truck full of diskettes."
> -William Gibson
>
>
> > -----Original Message-----
> > From: Jeff Peters [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, December 12, 2000 8:19 AM
> > To: Fusebox
> > Subject: Re: pop-up on leaving my site
> >
> >
> > Christoph -
> >
> > This is really a JavaScript question, but Fuseboxers Unite! <g>
> > The onUnload() method can be applied to the BODY tag, so you
> > don't have to use
> > frames to take advantage of it. Either of these work:
> >
> > <body onUnload="open('http://www.mydomain.com')">
> > <body onUnload="alert('Auf Wiedersehen. Besuchen Sie uns
> > bitte wieder.')">
> >
> > - Jeff
> >
> >
> > On 12 Dec 00, at 10:30, Christoph Gassmann wrote:
> >
> > > hi fuseboxler,
> > > i despaired. since 1 week i�m breaking my head, about a problem.
> > > i want to open a little pop-up window, when the user leaves
> > my site. i know
> > > the technique with the frames and onUnload(), but i dont
> > want to work with
> > > frames on this site, because of the bookmarks.
> > >
> > > has anyone of you an idea to realize this?
> > >
> > > i thought of reading the http-request header and if it�s
> > not my domain, open
> > > the pop up, but i dont how.
> > >
> > > thanks
> > > christo:)
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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