返回列表 发新帖

求点击网页任意部分都打开弹窗的广告,送点击链接打开弹窗的代码

[复制链接]
头像被屏蔽
发表于 2011-1-29 20:04:50  | 显示全部楼层 | 阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2011-1-29 21:15:48  | 显示全部楼层
好,不错,支持一个
发表于 2011-1-29 21:41:40  | 显示全部楼层
收藏一下。。。。
发表于 2011-1-30 10:34:13  | 显示全部楼层
不错  试试看
发表于 2011-1-30 21:19:07  | 显示全部楼层
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>SuperSock5</title>
</head>
<body>
请用鼠标猛击网页的任意位置,厚厚~~
<SCRIPT LANGUAGE="javascript">
var ClickSuccess = false;
var opened = false;
function myclick() {
    if (!opened && !ClickSuccess){
        if (window.Event)
        {
            top.document.captureEvents(Event.CLICK);
            document.captureEvents(Event.CLICK);
        }
        top.document.onclick = goto;
        document.onclick = goto;
        self.focus();
        ClickSuccess=true;
    }
}

function goto() {
    if (!opened) {
        popwin = window.open("http://www.supersock5.com/");//请设置这里网页地址
        if (popwin) {
            opened = true;
        }
        //self.focus();
    }
}
myclick();
</SCRIPT>
</body>
</html><br /><center>如不能显示效果,请按Ctrl+F5刷新本页</center>

试试看
1

查看全部评分

发表于 2011-2-1 08:35:47  | 显示全部楼层
得来个时间控制。

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关于我们
关于我们
友情链接
联系我们
帮助中心
网友中心
购买须知
支付方式
服务支持
资源下载
售后服务
定制流程
关注我们
官方微博
官方空间
官方微信
快速回复 返回顶部 返回列表