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

📄 index.asp

📁 基于asp的 班级同学录主页源代码
💻 ASP
字号:
<!--#include file="const.asp"-->
<!--#include file="top.asp"-->
<script language=JavaScript>
if (document.all){
with (document){
write('<div id="starsDiv" style="position:absolute;top:0px;left:0px">')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:1px;height:1px;background:#000000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:2px;background:#000000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:3px;background:#000000;font-size:3px;visibility:visible"></div>')
write('</div>')
}
}
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 200;
var xBase = 200;
var step = 1;
var currStep = 0;
var Xpos = 1;
var Ypos = 1;

if (document.all)
{
function MoveHandler(){
Xpos = document.body.scrollLeft+event.x;
Ypos = document.body.scrollTop+event.y;
}
document.onmousemove = MoveHandler;
}

else if (document.layers)
{
function xMoveHandler(evnt){
Xpos = evnt.pageX;
Ypos = evnt.pageY;
}
window.onMouseMove = xMoveHandler;
}

function animateLogo() {
if (document.all)
{
yBase = window.document.body.offsetHeight/6;
xBase = window.document.body.offsetWidth/6;
}
else if (document.layers)
{
yBase = window.innerHeight/8;
xBase = window.innerWidth/8;
}

if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{
starsDiv.all[i].style.top = Ypos + yBase*Math.sin((currStep + i*4)/12)*Math.cos(400+currStep/200);
starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*3)/10)*Math.sin(currStep/200);
}
}

else if (document.layers)
{
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{
var templayer="a"+j
document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(400+currStep/200);
document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(currStep/200);
}
}
currStep+= step;
setTimeout("animateLogo()", 5);
}
animateLogo();
</script>
<SCRIPT LANGUAGE="JavaScript">
<!--//
function reset()
{
document.Login.user.value="";
document.Login.password.value="";
}
//-->
</SCRIPT>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="288" class=s>
<tr>
<td width="79%" height="288" bgcolor="#FFFFFF" class=xz>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="1">
<tr>
<td width="100%" height="1" bgcolor="#F8F7F5"> </td>
</tr>
<tr>
<td width="100%" height="288" bgcolor="#F8F7F5"><img border="0" src="image/Back2.jpg" width="620" height="320"></td>
</tr>
<tr>
<td width="100%" height="1" bgcolor="#F8F7F5" align="left">&nbsp;Copy Right
2002&nbsp;&nbsp;&nbsp; <%=sysname%></td>
</tr>
</table>
</td>
<td width="21%" height="288">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="288" class=zy>
<tr>
<td width="100%" height="18" valign="top"> </td>
</tr>
<tr>
<td width="100%" height="320" valign="top"><form name="Login" method="post" action="login.asp" >
&nbsp;用户:<input name=user type=text size="10" value="username" class=buttonface><br>
&nbsp;密码:<input type=password name=password size="10" value="123456" class=buttonface>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type=image  src="image/1-sub.gif" width="44" height="23"><a href="javascript:reset()"><img border="0" src="image/1-reset.gif" width="44" height="23"></a></form>
<p>&nbsp; <a href="reg.asp"><img border="0" src="image/1-reg.gif" width="110" height="35"></a><br>
<br>
&nbsp; <a href="kill.asp"><img border="0" src="image/1-kill.gif" width="110" height="35"></a><br>
<br>
&nbsp; <a href="getpass.asp"><img border="0" src="image/1-getpass.gif" width="110" height="35"></a></p>
</td>
</tr>
<tr>
<td width="100%" height="12" bgcolor="#000000" align="center"><font color="#C0C0C0">Design
by 人心</font></td>
</tr>
</table>  </td>
</tr>
</table>

</body>    </html>

⌨️ 快捷键说明

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