I FORGOT AND DUH!

twersk77

New member
Jan 1, 2010
2
0
0
Central NJ
I forgot what I have to title the separate page I upload when I use the javasceipt code that asks people "if they are sure that they want to leave...ok or cancel etc.

I know where I have to load the script (head) and put the redirect address...but I dont remember how to make that box pop up on exit...I am pretty sure it is some sort of separate php page, but I dont know how to get mine to pop up and connect the two.

I'm mad cos I know it's really easy!@! Can anybody respond with a "duh...how can you forget that?!"

bt
 


HELP

Mike (OR ANYONE) I have a lot of experience with this...please can you justy answer the question...PLEASE! I,ve got all the pages ready...I dont have toime to look at 1000versions of popup code... Below is what I somebody use on their site...CAN SOMEONE PLEASE TELL ME IF I NEED TO UPLOAD A SEPARATE PAGE AND WHAT DO I TITLE IT??? This code is missing something and I cant get it to pop


<script type="text/javascript" language="javascript">
var areYouReallySure = false;
var internalLink = false;
function areYouSure() {
if (!areYouReallySure && !internalLink) {
areYouReallySure = true;
location.href="Fitness Tips Weekly - New Supplement Combo "Better Than Steroids""
return "*****************************************************\n\nSkeptical? I don't blame you because I felt the same way when I heard about it.\n\nWhich is why I made a page with YouTube clips from various TV shows! You'll feel chills when you watch just how amazing this diet really is.\n\nIf you're not using these two products, you're missing out on one of the greatest weight loss secrets in history...and I'm not exaggerating.\n\nSimply click 'CANCEL!' to see the proof that convinced me to try this awesome diet.
}
}
window.onbeforeunload = areYouSure;
</script>