2 Replies - 1399 Views - Last Post: 14 November 2007 - 09:29 PM

#1 andrewwan1980  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 07-June 07

HELP: IE7 pop-up blocker bypass

Posted 14 November 2007 - 08:54 AM

I have a problem with a child window using the parent's FORM to do a submission/post to open a new window. This is being blocked by IE7. This is happening when accessing an external website that is not listed in the IE7 pop-up blocker allow list.

If the current page does a FORM submission/post to target "_blank" then this is allowed and a new window pops up. However, if the new child window calls opener.top.document.someForm.submit(); then this is blocked.

I am developing a website and I don't want to tell users how to setup their popup blocker. I wish to find a way to get around this problem. Does anyone know how to allow a child window use it's parent window's form to do a submission/post to target "_blank"? without being stopped by IE7 pop-up blocker?

Is This A Good Question/Topic? 0
  • +

Replies To: HELP: IE7 pop-up blocker bypass

#2 andrewwan1980  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 07-June 07

Re: HELP: IE7 pop-up blocker bypass

Posted 14 November 2007 - 09:22 AM

the parent window contains the main form with all the hidden input elements for posting & also correct URL, etc. the child windows know nothing about the URL nor does it have any forms of it's own. the child window would call the parent window's form to submit... to OpenDoc.asp to open a new child window. I do not want the child window to open another child window within itself. Only the parent window should be allowed to open many child windows.

Get what I mean?

I even tried writing a auxillary function in the parent window to openDoc()... and the child window calls this openDoc in the parent window. But this still gets blocked. It's like as if IE7 knows the original caller.
Was This Post Helpful? 0
  • +
  • -

#3 Nayana  Icon User is offline

  • DIC Hawk - 나야나 नयन:
  • member icon

Reputation: 31
  • View blog
  • Posts: 824
  • Joined: 14-November 07

Re: HELP: IE7 pop-up blocker bypass

Posted 14 November 2007 - 09:29 PM

Why do you want the popup window? Popup windows are evil...
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1