positioning a jquery dialog that is inside an iframe realtive to the parent window

Posted by guy schaller on Stack Overflow See other posts from Stack Overflow or by guy schaller
Published on 2010-05-05T13:38:50Z Indexed on 2010/05/05 14:48 UTC
Read the original article Hit count: 244

Filed under:
|
|

hallo all

i have a site which has a very big scroll on it, and there is an iframe in the middle set to have no scroll and its height is 3000

anyway the document being opened in the iframe has a jquery dialog in it.

when im looking at the top of the parent and click a button inside the iframe that opens the dialog the dialog opens at the middle of the iframe and i cant see it...

thats because its doing its calcualtions based on the document not the top document

how can i change that?

so if my scroll was all the way down in the parent the dialog inside the iframe will open at the bottom of the iframe where i can see it.. in other words realtive to positon of parent document.

thanks in advance

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-plugins