shiuan0121 / simplemodal

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

Call a simplemodal in IFRAME #84

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I use SimpleModal to show some modal popup.

Everything works fine... but I have a problem about positionning the window.

My website is made like this:

Global page with an IFRAME who call another page with content.
I set the height of my IFRAME equal of the content to avoid SCROLLBAR in the 
frame.

Problem:
When I call a modal in my content page... the position is the middle of the 
iframe height (if content page = 1000 the modal display at 500... but this 
region of page isn't visible...)

So, how could I do to position the modal in the visible part of the frame ? 

Thanks ! (and very good plugin !)

Original issue reported on code.google.com by bau...@gmail.com on 18 Apr 2012 at 12:39