框架集上的模态对话框或div叠加?

时间:2022-11-19 19:20:13

I have a html page with several frames in it (also nested framesets). I want to show an overlay over all these frames to show a modal box / light box. Is that possible?

我有一个html页面,其中有几个框架(也是嵌套的框架集)。我想在所有这些帧上显示叠加以显示模态框/灯箱。那可能吗?

I know, i know, framesets are not good to use, but I want to give it a try!

我知道,我知道,框架集不好用,但我想尝试一下!

a modal dialog example

模态对话框示例

1 个解决方案

#1


6  

Unfortunately completely impossible.

不幸的是完全不可

The only HTML Element that will overlay over a frameset frame.. is the drop down list portion of a Select list.

将覆盖在框架集框架上的唯一HTML元素是选择列表的下拉列表部分。

In a similar situation, I built the same "frameset" using iframes. It was the only way to overlay over the frames.

在类似的情况下,我使用iframe构建了相同的“框架集”。这是覆盖帧的唯一方法。

#1


6  

Unfortunately completely impossible.

不幸的是完全不可

The only HTML Element that will overlay over a frameset frame.. is the drop down list portion of a Select list.

将覆盖在框架集框架上的唯一HTML元素是选择列表的下拉列表部分。

In a similar situation, I built the same "frameset" using iframes. It was the only way to overlay over the frames.

在类似的情况下,我使用iframe构建了相同的“框架集”。这是覆盖帧的唯一方法。