I want a script that makes a layer appear on a page as soon as someone tries to leave my site. As soon as they move their cursor outside of the webpage (to click the back button, or X button or to enter another URL) the layer should appear.
PM me if you want to see an example of this effect in action.
At the bottom of the layer, I want a simple one line message that I will be able to link to another page of my choice.
If someone tries to click on a specific link on the main page, the layer shouldn't be activated (maybe this can be done with a simple "on exit=false" or whatever that command is - although I would prefer no additional tags to be added to any links on the page).
The app would be an .exe one.
I would type in the dimensions of the layer as well as which page I want to pop up.
I would also be able to select a page on my PC and then have the code automatically installed on my page so I won't have to mess with HTML too much.
The code should be encrypted when installed on the page so that someone cannot just "view source" and steal it.