I own domain A and domain B, and host websites I want to be able to
communicate.
When viewing domain A, I would like to call up a nyroModal window with an
iFrame on domain B.
Upon action within the iFrame, I would like to close the nyralModal window.
Due to cross-domain security issues, this is difficult, but it's possible
by using the fragment identifier, as outlined here:
http://softwareas.com/cross-domain-communication-with-iframes
I would love it if nyralModal built in this ability as a setting.
Something like:
closeExternaliFrame: '[fragment identifier]'
So if I have:
closeExternaliFrame: '#formSubmitted'
Then when my iFrame's URL fragment identifier is set to formSubmitted, the
nyralModal window can detect that, and be closed.