Forum Moderators: open

Message Too Old, No Replies

popup from iframe

         

lisasal

11:40 pm on Aug 23, 2010 (gmt 0)

10+ Year Member



Hello, can anyone help me figure out how to open a popup from an iframe in the parent window instead of the iframe?

tedster

1:11 am on Aug 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello lisasal, and welcome to the forums.

I'm not clear what you are aiming for here. A conventional pop-up is already its own independent window, rather than part of the iframe or its parent. Can you give us a little more detail (a bit of code might help, too.)

kaled

9:38 am on Aug 24, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Depending on exactly what you are trying to achieve, you may run into security problems. However...

By "popup" I assume you mean a <div> styled as a window, in this case you could try placing the javascript required to open it in the parent. You may then be able to call it from the <iframe>. I have never tried this.

The javascript forum may be a better place to ask this question.

Kaled.