JavaScript简单特效之窗口的控制和框架的互操作篇

1、网页打开2秒后弹出广告 ad.html 2、通过在窗口获取数据输入 child.html 3、得到是谁打开了子窗口 根据window.opener==null,判断其不是其他网页的子窗口。 window.opener.document.title在Firefox浏览器中支持,IE不能正常运行。如果没法安装Firefox浏览器可以把window.opener.document.title改成一个
相关文章
相关标签/搜索