Hi, Since your javascript does a alot and probably reads both height and width of the parent page, is is possible to get the parent viewport in a variable?
In my iframe I have a lightbox that calculates the heigth of the page to fit the image popup related to the pages height. But if the iframe is long but the viewport is short, it shows the popup outside the parents viewport.
Is there a variable I can fetch to include in my lightbox javascript for the parents viewport?
Since else I will have to do some postmessage() javascript to talk to the parent page. I thought maybe that variable is already in the Advanced iframe script?
|