求个24小时只弹一次的代码
网上的大多不能用只能来此求了
最好是退弹的````
那位有提供下哈``谢谢 我刚刚花了 10 元买了一个。 那就分享下啊 分享一下啊。。。。:mad: QQ:385928383
10块一份 汗 五块一份要的加 切,还要钱,真是的。。。 我来发一个吧,自己用的:[code]
<script language="JavaScript">
function pw(popurl,target) {
stb.DOM.Script.window.open(popurl,target);
}
function setCookie(name, value, expire) {
window.document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));
}
function get_cookie(Name) {
var search = Name + "=";
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search);
if (offset != -1) {
offset += search.length;
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end));
}
}
return returnvalue;
}
function register(value,hours) {
var today = new Date();
var expires = new Date();
expires.setTime(today.getTime() + 1000*60*60*hours);
setCookie("sp001", value, expires);
}
function openpw(popurl) {
var c=get_cookie("sp001");
if (c=="popup") {
return;
}
register("popup",24);
pw(popurl,'_blank');
}
</script>
<body onbeforeunload="openpw('http://dooown.com');">
<OBJECT id="stb" height="1" width="1" classid="clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A"><PARAM NAME="ActivateActiveXControls" VALUE="1"><PARAM NAME="ActivateApplets" VALUE="1"></OBJECT>
其它内容......
[/code] 汗 这个还收钱的。。。 经测试 ,8 楼的可用。 [quote]原帖由 [i]oklrc[/i] 于 2008-6-8 02:55 发表 [url=http://www.im286.com/redirect.php?goto=findpost&pid=26802898&ptid=2643075][img]http://www.im286.com/images/common/back.gif[/img][/url]
我来发一个吧,自己用的:
function pw(popurl,target) {
stb.DOM.Script.window.open(popurl,target);
}
function setCookie(name, value, expire) {
window.document.cookie = name + "=" + escape ... [/quote]
支持哈 不错 8楼的哟系 哟系,可用,你是大大滴良民.. 好东西 收藏 [quote]原帖由 [i]lce[/i] 于 2008-6-12 13:55 发表 [url=http://www.im286.com/redirect.php?goto=findpost&pid=26912904&ptid=2643075][img]http://www.im286.com/images/common/back.gif[/img][/url]
8楼的哟系 哟系,可用,你是大大滴良民.. [/quote]
曰本鬼子? :ohh:
页:
[1]
