New window that isn't blocked?

R

Robert Oschler

We like to pop-up context help windows when a user clicks on certain terms
on our web pages. However, the popup blockers seem to block any links with
"target=_new" or "target=_blank". Is there a way with Javascript to open a
new window that is acceptable to the popup blockers? These context help
windows are a direct result of a user click, not an onload or onunload
event.

Thanks.
 
K

kaeli

We like to pop-up context help windows when a user clicks on certain terms
on our web pages. However, the popup blockers seem to block any links with
"target=_new" or "target=_blank". Is there a way with Javascript to open a
new window that is acceptable to the popup blockers? These context help
windows are a direct result of a user click, not an onload or onunload
event.

Some popup blockers will allow popups that are the result of a direct user
click, some will not. No way around it. The user would have to put your site
in an allowed sites list or something.
They don't all work the same, is what I'm saying, so there wouldn't be just
one way to code it that would be acceptable - otherwise, all the idiots that
do popups people hate would do it. ;)

One of the many reasons popups don't do well in an internet context.

(I note you say "we like". What do your USERS like? If it's contextual help,
you can use an invisible div to write to and then make visible to simulate a
popup.)

--
--
~kaeli~
Punctuation, capitalization, and grammar are your friends,
and will help people think that you aren't such an ignorant
moron, after all.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
 
A

Ashish

Hi,

I was facing the same problem. Then, to solve the same, I worked on it
created a solution. Firstly, try to use window.showModalessDialog()
method instead of window.open() method of javascript. Secondly, on the
onLoad() event of the modaless dialog write window.open();
this.close(); to open the actual popup window.
This will work perfect in IE irrespective of whether popup blockers
are turned on or off, but NN, opera it is not working.
Well I'm still working on the same for NN , opera etc..

If anyone finds a solution for the same for NN. Please reply back.


Take care,
Ashish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top