Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?


Reply


Old
  Post #1 (permalink)   06-09-2004, 05:41 PM
HD Addict
 
fallcreek's Avatar
 
Join Date: Jun 2004
Location: Indianapolis, IN
Posts: 103

Status: fallcreek is offline
Guys and Gals,

I'm trying to figure out how to set a pop-up window to go off when someone leaves my site.

More than that though, I only want it to go off once.

Before you all start hollering at me about how annoying they are - I realize that, but I have a valid reason for doing things this way.

Also, I got the cookie part, I haven't been able to figure out how to pop the window only when the visitor actually leaves the site, and not just a certain page.

Can it be done?

John
__________________
http://www.fallcreektech.com
http://www.mediabuynet.com - My lovely wife's site.
 
 
 


Old
  Post #2 (permalink)   06-12-2004, 06:45 AM
HD Newbie
 
Join Date: Jun 2004
Posts: 24

Status: diginode is offline
http://pandecta.com/exit-pop-up.html

Google is your friend
__________________
::. www.diginode.net : Dedicated / VM Servers .::
::. Instant Remote Reboot & OS Installs : Secure Console Access .::
::. Over 20 OS to choose from : Install a new OS everyday .::
 
 
 


Old
  Post #3 (permalink)   06-12-2004, 06:47 AM
HD Newbie
 
Join Date: Jun 2004
Posts: 24

Status: diginode is offline
Opps, jumped the gun there.. you will probably need to load the main page in an frame and in the parent frame, use javascript the check the URL. If the url changed, then do the exit pop-up.
__________________
::. www.diginode.net : Dedicated / VM Servers .::
::. Instant Remote Reboot & OS Installs : Secure Console Access .::
::. Over 20 OS to choose from : Install a new OS everyday .::
 
 
 


Old
  Post #4 (permalink)   06-14-2004, 03:22 AM
HD Master
 
Join Date: Feb 2004
Posts: 348

Status: RobAPI is offline
The only thing I could help with also is for when they leave the site..
You could probably use PHP though and a cookie to set if they are leaving the site or just a page.
Most things work so code is in the body and when they leave that page, a popup is opened showing a page that you set.
You have to do that for each page though, and it will popup for every page they leave that has the code in it.
__________________
Robert
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: