modal-dialog or div overlay over frameset?

2019-06-16 18:42发布

问题:

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?

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

a modal dialog example

回答1:

Unfortunately completely impossible.

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

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