Click here to Skip to main content
15,885,537 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi,

I would like to open a new popup window from javaScript, but it can't open directly and asks me to press the control key.

The message is as follows:

Popups were blocked on this page.
Press the "ctrl" key to allow popup.

Kindly appreciate your help.
Posted
Updated 25-Nov-10 3:12am
v3
Comments
fjdiewornncalwe 25-Nov-10 9:12am    
If popups are blocked, you will not be able to circumvent it this way.
Manfred Rudolf Bihy 25-Nov-10 9:13am    
Could this issue have something to do with "trusted sites" configuration of the browser?
Manfred Rudolf Bihy 25-Nov-10 9:15am    
Edited: Minor edits and some spelling issues.
thatraja 25-Nov-10 9:31am    
Pogoboy Is right, Nilesh go through here http://support.microsoft.com/kb/843016

1 solution

To avoid website problems with popup blockers you could use an alternative method for popup windows. Have a look at the links below for more info and examples.

http://www.javascripttoolbox.com/lib/popup/example.php[^]

http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/[^]

Good luck!
 
Share this answer
 
Comments
thatraja 26-Nov-10 0:33am    
Good one, almost I forgot this to suggest him. :thumbsup:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900