***系统相关***仅弹出一次窗口
把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件--------------------------------------------------------------------------------
脚本说明:
第一步:把如下代码加入<head>区域中
<script language="javascript">
<!--
function openpopup(){
window.open("welcome.htm","","width=300,height=300")
}
function get_cookie(name) {
var search = name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexof(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexof(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie('popped')==''){
openpopup()
document.cookie="popped=yes"
}
}
//-->
</script>
第二步:把<body>中内容改为:
<body bgcolor="#fef4d9" onunload="loadpopup()">
--------------------------------------
拥有三人行论坛管理系列软件,一个人就可以管理一个论坛的更新维护。还能使您的论坛有千人在线的真实火暴效果,让您不在为论坛因没有人气而留不住会员而烦恼,使您的论坛早日成为一流的论坛。详情请登陆网站:http://www.cnsrx.cn 三人行论坛管理软件,站长必备的专业好工具。(您使用的是免费版本,购买收费版本后,将不带广告。业务QQ:247216 44985227)
页:
[1]