Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将鼠标悬停在嵌入在主页中的 iframe 中的链接上时,我会弹出一个弹出窗口。
目前,该弹出窗口正在 iframe 上呈现并被剪辑。我希望弹出窗口显示在顶部而不是框架中。
据我所知,这不能以可靠和简单的方式完成。
您必须在父框架中显示弹出窗口,因为这是唯一可以悬停在 iframe 上方的弹出窗口。如果弹出窗口绑定到鼠标位置,则交叉计算正确位置并将它们传输到父框架所需的工作量巨大且非常复杂。