471,316 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

popup on exit question

My client wants me to make a popup on exit window with a discount
coupon. I have found how to do this if someone exits the site or
closes their browser window, but I can't find a way to prevent the
popup from coming up if someone clicks the refresh or back button on
their browser. Does anyone have a workaround for this problem?

Jul 23 '05 #1
1 1392
gr****@gmail.com wrote:
My client wants me to make a popup on exit window with a discount
coupon.
Your client is an idiot.
I have found how to do this if someone exits the site or
closes their browser window,
Nah, you just think you have.
but I can't find a way to prevent the
popup from coming up if someone clicks
the refresh or back button on their browser.
Stop using un-solicited popups, problem solved. Put a link on the page
to the coupon page. If people want it, they will go.
Does anyone have a workaround for this problem?


You can't open a popup on my computer when I leave the site.
Thats not a problem to be solved.

So where's the problem?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Alex Shi | last post: by
3 posts views Thread by Johny | last post: by
2 posts views Thread by Papajo | last post: by
2 posts views Thread by Sigurd Bruteig | last post: by
1 post views Thread by Jennyfer J Barco | last post: by
2 posts views Thread by Kiyomi | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.