如果我在iframe中有一个按钮,当我在iframe中按此按钮时,如何创建一个弹出窗口,该弹出窗口将作为父窗口的一部分而不是在iframe窗口中出现?
Not sure that you can, this is a protection from iframes taking over a parent page. Meaning you couldn't have a floating div. You could popup a new window from the browser like normal.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.