⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 notice.asp

📁 asp构建网站bbs.采用B/S架构
💻 ASP
字号:
<%
'##################################################################
'# 游客登陆提示 插件 for 6KBBS5.0
'# 调用方法:<!--#include file="notice.asp"-->
'# 6KBBS5.0[痞子NET]版 http://jwclub.126.com
'##################################################################
%>

<head>
<style type="text/css">
<!--
#sponsorAdDiv {position:absolute; height:1; width:1; top:0; left:0;}
-->
</style>
<script LANGUAGE="JavaScript1.2">
adTime=20;
chanceAd=1;
var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
adCount=0;
function initAd(){
        if(!ns && !ie && !w3) return;
        if(ie)                adDiv=eval('document.all.sponsorAdDiv.style');
        else if(ns)        adDiv=eval('document.layers["sponsorAdDiv"]');
        else if(w3)        adDiv=eval('document.getElementById("sponsorAdDiv").style');
        randAd=Math.ceil(Math.random()*chanceAd);
        if (ie||w3)
        adDiv.visibility="visible";
        else
        adDiv.visibility ="show";
        if(randAd==1) showAd();
}
function showAd(){
if(adCount<adTime*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-200;adDiv.top =documentHeight-60;
        setTimeout("showAd()",100);}else closeAd();
}

function closeAd(){
if (ie||w3)
adDiv.display="none";
else
adDiv.visibility ="hide";
}
onload=initAd;
</script>
<style TYPE="text/css">
<!--
A:link{text-decoration:none}
A:visited{text-decoration:none}
A:hover {color: #333333;text-decoration:underline}
 -->
</style>            
<style>
BODY {
SCROLLBAR-FACE-COLOR: #FFFFFF;
SCROLLBAR-HIGHLIGHT-COLOR: #D7E0EF;
SCROLLBAR-SHADOW-COLOR: #FFFFFF;
SCROLLBAR-3DLIGHT-COLOR: #ffffff;
SCROLLBAR-ARROW-COLOR: #000000;
SCROLLBAR-TRACK-COLOR: #FFFFFF;
SCROLLBAR-DARKSHADOW-COLOR: #D7E0EF;
SCROLLBAR-BASE-COLOR: #FFFFFF
}
</style>
          
</head>

<div id="sponsorAdDiv" style="visibility:hidden">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="450" height="190" bgcolor="<%=c1%>">
  <tr>
    <td width="327" height="20" valign="bottom" background="b3.gif"><font color="#ffffff" size="2"><b>:::本窗口 <span id=jwclub>20</span>&nbsp; 秒钟后自动关闭:::</b></font></td>      
    <td width="141" height="20" valign="bottom" background="b3.gif">      
    <p align="right"><font size="2"><font color="#ffffff">点击关闭→</font><img src="http://www.5yweb.com/mulu/yuxiao617/bbs/img/close.gif"  width="35" height="10" onclick="closeAd()">&nbsp;</font> </td>     
  </tr>     
  <tr>     
    <td width="469" height="166" colspan="2">     
    <div align="center">     
      <center>     
    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="446" height="166" bgcolor="#FFFFFF">     
      <tr>     
        <td width="134" height="161">     
        <p align="right"><font size="2"><img src="http://www.5yweb.com/mulu/yuxiao617/bbs/img/dl.gif" width="100" height="100"></font></td>     
        <td width="268" height="161">     
        <p align="center"><font size="2">欢迎访问<a target="_blank" href="<%=topad%>"><%=tl%></a>论坛:)</font></p>     
        <p align="center"><font size="2">提示:登陆本论坛后,此窗口将自动消失!</font></p>     
        <p align="center"><font size="2"><a href="login.asp">::登陆::</a>&nbsp;&nbsp;&nbsp;&nbsp;      
        <a href="zhuce.asp">::注册::</a></font></td>      
      </tr>      
    </table>      
      </center>      
    </div>      
    </td>      
  </tr>      
</table>      
</div>      
<script>      
function countDown(secs){      
jwclub.innerText=secs;      
if(--secs>0)      
 setTimeout("countDown("+secs+")",1000);      
  }      
countDown(20);</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -