谁有跳出来的广告代码吗
谁有跳出来的广告代码吗。在线等.谢谢 貌似偶有。。。。。。。。。去给你找下 有专门做弹窗的程序。。。。;P 帮帮找啊.谢谢了 偶发过一个帖子在论坛。。你搜下吧。。我BLOG里没那代码了 找不到啊。那里有啊.为什么我就找不到呢 不搜能找到么
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() 原帖由 waitme 于 2006-10-31 14:43 发表
不搜能找到么
function setCookie(name, value, expire) {
window.document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.t ...
非常感谢你 网民们不喜欢弹窗啊;P <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