473,407 Members | 2,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 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 1499
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alex Shi | last post by:
Hello, I need an Exit popup page that when a visitor is on leaving my site it will popup. With "onUnLoad" it can work in this way but it also does something more that I don't want. When a...
3
by: Johny | last post by:
Hi I am after an exit popup that only appears when somebody leaves my site and not when they leave every page. and I'd like it that they don't get it every time they leave the site if they...
2
by: Papajo | last post by:
This cookie script has a confirm popup that asks if you want your data saved, it pops when you exit the form, now my question is how can I eliminate the popup? Thanks Joe ...
2
by: Sigurd Bruteig | last post by:
Hi! I have problems to set focus to a popup form, if it is not modal. If I set modal to true then that problem is solved, but then the main form closes together with the subform, wich in not...
3
by: Uwe Range | last post by:
Hi to all, I am displaying a list of records in a subform which is embedded in a popup main form (in order to ensure that users close the form when leaving it). It seems to be impossible to...
1
by: Jennyfer J Barco | last post by:
Hello I have a datagrid and a linkbuttom in the datagrid that says Picture, every time I click on the link "Picture" my program opens a popup window showing a picture of the item the selected and...
13
by: Deano | last post by:
Apparently you can only do this with one value i.e Call MyAssetLocationZoom(Me!txtLocation, "Amend data") This runs; Public Sub MyAssetLocationZoom(ctl As Control, formName As String) On...
2
by: Kiyomi | last post by:
Hello, I have some codes under event ButtonSend_Click to check the user input values. This check is complicated enough using different stored procedures. Then according the result of the...
2
by: Del | last post by:
I have a popup form that consist of a single field called EnteredBy and a Subform that has three fields. The popup form also has a button in the Form Footer called close. In the On Click event I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.