在父框架上加载 Tinybox(在 iframe 上)

发布于 2025-01-08 03:20:42 字数 263 浏览 2 评论 0原文

首先,我想提前感谢您对此的回答。

目前,我正在开发一个网站,其中有一个包含 的页面。

中的页面具有 Tinybox 调用来打开模式弹出窗口(我想覆盖在父页面上),但覆盖层保留在<代码>

有没有办法在父页面上加载覆盖层?如果是这样,我该怎么做?

First of all I'd like to thanks in advance for your answers on this.

Currently I'm working on a site where I have a page that contains an <iframe>.

The page within the <iframe> has the Tinybox call to open the modal popup (that I want to overlay over the parent page), but the overlay stays within the <iframe>.

Is there a way to load the overlay over the parent page? If so, how do I do it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

冬天的雪花 2025-01-15 03:20:42

在代码中使用此功能

window.top

Use this functinality in your code

window.top
如果没有 2025-01-15 03:20:42

目前,我只是将脚本保存在一个单独的文件中,并将其包含在每个页面上。

For the moment, I'll just keep the script in a separate file and include that on every page.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文