开发者

jQuery iBox (lightbox clone) and IFRAMES

开发者 https://www.devze.com 2022-12-31 02:50 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消