Preventing child iframe from “breaking out of frame”

前端 未结 4 440
轻奢々
轻奢々 2020-12-05 15:54

I\'m doing some simple web integration work which I\'m accomplishing through use of an iframe. My main window has some javascript which interacts with my server to redirect

4条回答
  •  清歌不尽
    2020-12-05 16:21

    After much searching I developed a simple trick. I created a dummy page in my own site which the i frame called for. I then had an i frame in the dummy page which called for the site breaking out of the frames. It broke out of the first frame, but since the dummy page was on my site it stayed neatly in the frame of the top page. violla

提交回复
热议问题