google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Query = Open crossdomain modal into inline modal not as an iframe #520

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It is not a defect report as such, it is more like a query on use of nyromodal. 
Question is whether we can open nyromodal as an inline div (or something) 
instead of iframe.

Scenario:
1. there are two websites www.web1.com and www.web2.com

2. web1 imports an script from web2 and that script tries to open a modal 
showing an html page from web2.

Currently nyro by default opens it as an iframe. Can there be a setting which 
will force it to open as it will open had these be on one same domain instead 
of two separate domains.

Original issue reported on code.google.com by rish...@gmail.com on 13 Aug 2010 at 1:21

GoogleCodeExporter commented 9 years ago
I think I found it, we can use forceType for it.
Now another problem is, if it has to load content from another domain it fails. 
I am using jquery.xdomainajax.js. I need to somehow see how I can tell nyro to 
use it too.

Original comment by rish...@gmail.com on 13 Aug 2010 at 1:12