get existing 'confirm' javascript screen for php page to work
$30-50 USD
Cerrado
Publicado hace alrededor de 14 años
$30-50 USD
Pagado a la entrega
Your task will be to make a simple PHP file that displays a javascript confirm box when the person hits the X to close the browser or if the person navigates away from the current website. This javascipt message should only appear ONE TIME (the first time the user visits the page ??" note this is already implemented and working using cookies). The javascript confirm box SHOULD NOT be shown if one clicks on a normal page link within the current web page as included in the file index.php. Note that the syntax of the link can not change in the file [login to view URL] such as adding target=_blank to the link.
Our ultimate goal here is to give the user of our website one upsell before they decide to leave our site. We wish the user to browse around on our site by clicking links to other pages in our site, but when they decide to leave (such as closing the browser or going to another site) we want to present them with an enticing leaving page. If you have code close to this functionality, please describe it to me so I can consider it as a replacement for what I currently have.
## Deliverables
Attached you will find a document with the code to modify along with a [login to view URL] document that you will read to understand the design for this project.