Home > Backend Development > PHP Tutorial > 求助实现一个广告窗口

求助实现一个广告窗口

WBOY
Release: 2016-06-23 14:05:47
Original
790 people have browsed it

最近写一个项目 其中一个要求:
关闭网站的最后的一个页面 会弹出一个页面。。。(就像关闭邮箱跳出的广告页面一样)怎么实现???


回复讨论(解决方案)

<script> <br /> window.onbeforeunload=function(){ <br /> window.open('http://www.baidu.com','newwin'); <br /> } <br /> </script>

给浏览器秒杀...

有什么好的方法吗??

收购微软,赞助mozilla,收购google,收购opera,最后还要收购苹果
山东苹果贵不贵?

无解,因为目前不良

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template