This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > May 2007 > Pop Ups....Creation.....Help!





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pop Ups....Creation.....Help!
spider7

2007-04-30, 11:55 am

Is it possible to create a Pop-Up when someone leaves my website?

If so...how would i find that code?

Any Constructive input is greatly appreciated...

Thanks

~T


PS. Is this possbile using HTML or a simple code?
Jon Spivey

2007-04-30, 10:15 pm

Hi,
You can make a popup when someone leaves a page, eg
<body onunload="alert('don't leave');">
The problem would be that there's no way to tell whether a user is leaving a
page to leave your site completely, or to go to another page in your site.

Trying to do this sort of thing usually just annoys people. If someone wants
to leave your page or your site they will :-)

Cheers,
Jon

"spider7" <spider7.2pvitc@mail.forum4designers.com> wrote in message
news:spider7.2pvitc@mail.forum4designers.com...
>
> Is it possible to create a Pop-Up when someone leaves my website?
>
> If so...how would i find that code?
>
> Any Constructive input is greatly appreciated...
>
> Thanks
>
> ~T
>
>
> PS. Is this possbile using HTML or a simple code?
>
>
>
> --
> spider7
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>



spider7

2007-04-30, 10:25 pm

Thanks Jon,

I appreciate it.

QUESTION: "Why do sites like lendingtree.com have popups that don't show up until you try and "x-out" of the website?"

~T




quote:
Originally posted by Jon Spivey
Hi,
You can make a popup when someone leaves a page, eg
<body onunload="alert('don't leave');">
The problem would be that there's no way to tell whether a user is leaving a
page to leave your site completely, or to go to another page in your site.

Trying to do this sort of thing usually just annoys people. If someone wants
to leave your page or your site they will :-)

Cheers,
Jon

"spider7" <spider7.2pvitc@mail.forum4designers.com> wrote in message
news:spider7.2pvitc@mail.forum4designers.com...
>
> Is it possible to create a Pop-Up when someone leaves my website?
>
> If so...how would i find that code?
>
> Any Constructive input is greatly appreciated...
>
> Thanks
>
> ~T
>
>
> PS. Is this possbile using HTML or a simple code?
>
>
>
> --
> spider7
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>

Corey Bryant

2007-05-01, 6:17 pm

http://www.cgiscript.net/cgi-script...wone&id=38&op=t might help some as well.
--
Corey R. Bryant
http://www.coreybryant.org | http://www.loudcommerce.com


"spider7" wrote:

>
> Is it possible to create a Pop-Up when someone leaves my website?
>
> If so...how would i find that code?
>
> Any Constructive input is greatly appreciated...
>
> Thanks
>
> ~T
>
>
> PS. Is this possbile using HTML or a simple code?
>
>
>
> --
> spider7
> ------------------------------------------------------------------------
> Posted via http://www.codecomments.com
> ------------------------------------------------------------------------
>
>

spider7

2007-05-03, 3:34 pm

Thanks Cory...i will check into that...
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews