This is something that's driving me crazy. I need to execute a dhtml layer that plays a video and asks the user to opt in for a "free trial" of the product before they hit the back button or exit the window. I have the layer designed and ready to go - it came from a script I bought online. The problem is that the software is written so that the popup happens when they mouse-over a 1000px wide by 60 px high invisible area at the top of the window. I've turned that off and ONLY want the pop up to happen when they close the window or hit the back button.
## Deliverables
All 3 files are included here - however - you probably won't need the php file or the css file. They are both housed on my server. You'll probably only need to change the [login to view URL] file.
I JUST ADDED A NEW FILE. YOU'LL HAVE TO INSTALL THE PAGE ON YOUR OWN SERVER FOR IT TO WORK PROPERLY.