论坛常用弹出的图层自动关闭效果

5个月前 (04-03 18:50)阅读回复0
大陆
大陆
  • 管理员
  • 发消息
  • 注册排名1
  • 经验值5294
  • 级别管理员
  • 主题1058
  • 回复2
楼主

论坛常见的一种网页特效,当用户打开网页弹出一个注册图层,然后过几秒钟后自动隐藏起来,根据自己的需求来自定义显示时间。

<html>
<head>
<meta http-equiv="content-Type" content="text/html;charset=gb2312">
<meta name="keywords" content="武鸣人网站,武鸣信息网,武鸣本地网,武鸣信息资源平台,减肥,健身,励志,励志语录,js特效,网页特效,www.wuming.ren">
<meta name="description" content="欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。">
<title>论坛常用弹出的图层自动关闭效果_武鸣人</title>
</head>
<body>
<a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr>
<!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。-->
<script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script>
<script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script>
<SCRIPT language=JavaScript>
timePopup=5;var ns=(document.layers);var ie=(document.all);var w3=(document.getElementById && !ie);adCount=0;
function initPopup(){if(!ns && !ie && !w3) return;if(ie) adDiv=eval('document.all.lbplocation.style');else if(ns) adDiv=eval('document.layers["lbplocation"]');else if(w3) adDiv=eval('document.getElementById("lbplocation").style');if (ie||w3) adDiv.visibility="visible";else adDiv.visibility ="show";showPopup();}
function showPopup(){if(adCount<timePopup*10){adCount+=1;if (ie){documentWidth  =document.body.offsetWidth/2+document.body.scrollLeft-20;documentHeight =document.body.offsetHeight/2+document.body.scrollTop-20;} else if (ns){documentWidth=window.innerWidth/2+window.pageXOffset-20;documentHeight=window.innerHeight/2+window.pageYOffset-20;} else if (w3){documentWidth=self.innerWidth/2+window.pageXOffset-20;documentHeight=self.innerHeight/2+window.pageYOffset-20;} adDiv.left=documentWidth-250;adDiv.top =documentHeight-150; setTimeout("showPopup()",100);}else closePopup();}
function closePopup(){if (ie||w3) adDiv.display="none"; else adDiv.visibility ="hide";}
onload=initPopup;
</SCRIPT>
<DIV id=lbplocation style="HEIGHT: 1px; LEFT: 50px; POSITION: absolute; TOP: 100px; VISIBILITY: hidden; WIDTH: 1px">
            <TABLE bgColor=#35726c height=320
            style="BORDER-BOTTOM: #ecf6f5 1px outset; BORDER-LEFT: #ecf6f5 1px outset; BORDER-RIGHT: #ecf6f5 1px outset; BORDER-TOP: #ecf6f5 1px outset"
            width=520>
              <TBODY>
              <TR>
                <TD>
                  <TABLE align=center bgColor=#83c6c0 height=290
                  style="BORDER-BOTTOM: #fafdfd 1px inset; BORDER-LEFT: #fafdfd 1px inset; BORDER-RIGHT: #fafdfd 1px inset; BORDER-TOP: #fafdfd 1px inset"
                  width=490>
                    <TBODY>
                    <TR>
                      <TD align=middle vAlign=center><BR><BR><B><A href="https://www.wuming.ren" title="按这里进行注册"><U>注 册</U></A>  <A href="https://www.wuming.ren" title="从这里开始进入论坛"><U>登 入</U></A></B>
                        <P>(此视窗将于 5 秒后自动关闭)</P></TD>
</TR>
</TBODY>
  </TABLE>
</TD>
  </TR>
  </TBODY>
</TABLE>
</DIV>
</body>
</html>


0
0
收藏0

本文来自武鸣人网站,转载请注明出处

本文地址:https://www.wuming.ren/a/609.html

回帖

论坛常用弹出的图层自动关闭效果 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息