开发者

Fancybox iframe content - how to access CSS from parent?

I am opening a Fancybox iframe from within a page that has several stylesheets loaded.

The content in the ifra开发者_开发知识库me is from my own app, but it is not taking the stylesheets from the parent.

Is there a way of doing this without having to load the stylesheets all over again in the iframe page itself?


Yes and no. If you load the content inline rather than in an iframe, the content will be in the parent and have its styles.

Otherwise... I don't think so.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜