Re: pop up window

by zoe(at)cos.wantweb.net (Zoe Mills)

 Date:  Fri, 10 Mar 2000 13:42:23 -0800
 To:  Nik Robinson <Nikki.Lee.Robinson(at)brunel.ac.uk>
 Cc:  <hwg-basics(at)hwg.org>
 References:  wantweb
  todo: View Thread, Original
Nik,

Thanks so much for your answer.

The script that I tried to use is:

<!-- Begin
function leave() {
window.open('http://www.yourdomain.com/pageopen.html','','toolbar=no,menubar 
=no,location=no,height=500,width=500');
}
// End -->
</SCRIPT>

<body onUnload="leave()">


This works everytime they go from one webpage to another.....  instead of 
just leaving that domain.  How do I fix it?

Thanks,
Zoe Mills




At 01:20 PM 3/10/00 +0000, you wrote:
>use a Javascript in the header with the unLoad command!
>
>so that when the page is unloaded the window pops up!
>
>HTH,
>
>Nik Robinson
>
>***********************************
>E-mail: nrobinson(at)iname.com
>Web site: http://www.nrobinson.co.uk
>----- Original Message -----
>From: Zoe Mills <zoe(at)cos.wantweb.net>
>To: <hwg-basics(at)hwg.org>
>Sent: 10 March 2000 07:19
>Subject: pop up window
>
>
> > Hello!
> >
> > I have a client that wants a browser window pop up when you are leaving
> > their website.  Just a little one that says thank you for visiting their
> > site.  I have found pop up scripts that will open up a new window when you
> > go to any page other than the one you on are within that website.... but
> > that isn't what I'm looking for.  I want it to pop up when you are going
>to
> > a different domain than the one you are on.
> >
> > Any ideas?
> >
> > Thanks so much for your help.
> >
> > Sincerely,
> > Zoe Mills

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA