Hey there you lot, is there a way that I can open a lig开发者_运维问答htbox (in this case iBox) from within an IFRAME and have the actual lightbox open in the Parent page?
sigh I am confusing myself here!
Only if you have control of the parent page too.
If so you could either invoke methods directly using parent.foo()
if on the same domain, or using e.g easyXDM if on different domains.
Either way, you will have to load the correct scripts and css on the parent to do so.
精彩评论