Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 10-09-2009, 03:22 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: Feb 2009
Posts: 121
Thanks: 52
Thanked 16 Times in 15 Posts
Default Exit Page Script?

Im curious as to finding a script that prompts you with a dialog box when you try to exit a page? A pop up text box allowing the browser the option of staying on the page.

Is anyone familiar with these or know where I could find the script?

Thanks,

-Safe Travels!

WebFlip is offline   Reply With Quote
Old 10-09-2009, 03:33 PM   #2
Ross Vaughn
 
Spinethetic's Avatar
 
Join Date: Apr 2009
Location: Manhatten
Posts: 177
Blog Entries: 2
Thanks: 20
Thanked 15 Times in 14 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: Exit Page Script?

Try checking out
- Dynamic Drive DHTML(dynamic html) & JavaScript code library
- JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and Ajax stop
- Hot Scripts - The net's largest PHP, CGI, Perl, JavaScript and ASP script collection and resource web portal.

You may have to modify the javascript so that it is triggered by either 'onmouseout' or 'onunload' but that really isnt that hard to do.

Spinethetic is offline   Reply With Quote
Old 10-09-2009, 03:55 PM   #3
HyperActive Warrior
War Room Member
 
ASUService's Avatar
 
Join Date: Jul 2002
Location: USA.
Posts: 466
Thanks: 122
Thanked 67 Times in 46 Posts
Default Re: Exit Page Script?

Hey there,
There are many ways to do this but there are also things that need to be considered. Do you want it to show everytime, once a day, once per visit. What if they click an internal link ... don't think you want it showing then do you?

Sorry I'm not answering your question directly ... i'll do that in a sec ... just thought you might want to consider a few other points. Try googling "exit popup" ... you'll get many links that address the various points and how to handle them.

Now ... to address your question ... here ya' go:

How to stop browser from closing using Javascript? - Dev Articles

Another possibility ...
Resolved Leaving Window Warning - Dynamic Drive Forums

ASUService is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
exit, page, script

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 07:03 AM.