Dj-Corps / simplemodal

Automatically exported from code.google.com/p/simplemodal
0 stars 0 forks source link

Show a modal overlaying the outermost body (cascading iframes) #100

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We have a special scenario where we have cascading iframes. We were able to 
find the outermost body and supplied it to attachTo. But simpelmodal itself 
uses the window and document objects to determine the correct position. 

Attached is a patched 1.4.4 where we search for the outermost window and use 
that for the calculations. 

Maybe someone could incorporate it in this wonderfull library. We think that 
the changes do not harm.

If you have any questions: smx@vsx.net

Original issue reported on code.google.com by muehle.s...@googlemail.com on 11 Dec 2013 at 6:42

Attachments: