Very simple project.
Need a code that will redirect visitors to a specific page on my website when they exit.
It must only kick in when a person closes their browser or exits the domain, not the webpage. and will only be active on a few pages.
The code must be written in PHP with a copy in HTML (must be able to have it in both formats).
When the visitor tries to exit an alert windown will come up with a message for them to either stay on the page or exit. ? On hitting the exit or closing the browser they go to the specified page. ? It must bypass any popup blockers so doing an actual popup will not be acceptable. ? All navagation MUST be in the same window.