By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,237 Members | 1,483 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,237 IT Pros & Developers. It's quick & easy.

popup on exit question

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.