949596 发表于 2006 年 10 月 31 日 14:12:11

谁有跳出来的广告代码吗

谁有跳出来的广告代码吗。在线等.谢谢

waitme 发表于 2006 年 10 月 31 日 14:15:58

貌似偶有。。。。。。。。。去给你找下

afterall 发表于 2006 年 10 月 31 日 14:16:37

有专门做弹窗的程序。。。。;P

949596 发表于 2006 年 10 月 31 日 14:18:38

帮帮找啊.谢谢了

waitme 发表于 2006 年 10 月 31 日 14:24:27

偶发过一个帖子在论坛。。
你搜下吧。。我BLOG里没那代码了

949596 发表于 2006 年 10 月 31 日 14:34:51

找不到啊。那里有啊.为什么我就找不到呢

waitme 发表于 2006 年 10 月 31 日 14:43:12

不搜能找到么
function setCookie(name, value, expire) {   
window.document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));
}

function getCookie(Name) {   
   var search = Name + "=";
   if (window.document.cookie.length > 0) { // if there are any cookies
   offset = window.document.cookie.indexOf(search);
         if (offset != -1) { // if cookie exists
       offset += search.length;          // set index of beginning of value
         end = window.document.cookie.indexOf(";", offset)          // set index of end of cookie value
         if (end == -1)
             end = window.document.cookie.length;
         return unescape(window.document.cookie.substring(offset, end));
   }
   }
   return null;
}

function register(name) {
var today = new Date();
var expires = new Date();
expires.setTime(today.getTime() + 1000*60*60*24);
setCookie("SexMovie", name, expires);
}


var exitURL="http://www.yx008.com"; //广告地址

function openWin() {

var c = getCookie("SexMovie");
if (c != null) {
    return;
}
register("9free");

var featureStr="''";

    featureStr="'top=0,left=0,width=800,height=600,toolbar=yes, menubar=no, scrollbars=no, resizable=no, location=no, status=no,center:no'";

         
self.focus();

var ExitWindow = window.open(exitURL);

    ExitWindow.focus();

}

openWin();
window.focus()

949596 发表于 2006 年 10 月 31 日 15:00:47

原帖由 waitme 于 2006-10-31 14:43 发表
不搜能找到么
function setCookie(name, value, expire) {   
window.document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.t ...


非常感谢你

qq999 发表于 2006 年 10 月 31 日 15:08:46

网民们不喜欢弹窗啊;P

金光 发表于 2006 年 10 月 31 日 16:22:21

<STYLE>BODY {
FONT-FAMILY: arial,sans-serif
}
</STYLE>
<SCRIPT language=javascript>
window.showModelessDialog("http://bbs.jgfree.net","jgwy","center:no;dialogLeft:5px;dialogTop:5px;scroll:1;status:1;help:1;resizable:1;dialogWidth:320px;dialogHeight:100px")
</SCRIPT>



演示:
http://jgwy.net/map.htm

在:dialogWidth:320px;dialogHeight:100px
可以修改弹窗的大小
页: [1] 2
查看完整版本: 谁有跳出来的广告代码吗