首页
网页特效库
网页特效库
导航菜单
按钮表单
背景特效
时间日期
图片特效
鼠标特效
文本操作
窗口页面
状态栏类
警告对话
综合应用
游戏娱乐
首页
>
特效
>
窗口页面
> 正文
每个IP每天只弹一次的窗口
2009-12-22 窗口页面 306℃
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>每个IP每天只弹一次窗口/网页特效/www.zlcool.com</title> </head> <body> <Script> 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("ItDoor", name, expires); } var exitURL="http://www.zlcool.com/"; function openWin() { var c = getCookie("ItDoor"); if (c != null) { return; } register("xiaolin"); 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,'', featureStr); ExitWindow.focus(); } openWin(); window.focus() </Script> 怎么样?再怎么刷新,他都不会弹了!只弹一次! </body> </html>
相关特效代码
无相关信息
热门特效代码
弹出式窗口代码生成器
自动刷新网页代码
在状态栏中显示停留时间
根据不同的分辨率自动采用预设的
点击弹出窗口层背景变暗
每个IP每天只弹一次的窗口
打开浏览器窗口最大化效果
N秒后不询问自动关闭窗口
自由控制打开的窗口
框架加载时的loading效果,兼容F
推荐特效代码
每个IP每天只弹一次的窗口
打开浏览器窗口最大化效果
N秒后不询问自动关闭窗口
点击打印网页代码
变色的表格框
漂亮的CSS园角效果