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