找回密码
 注册
搜索
热搜: 回贴
  • 前程无忧官网首页 有什么好的平台可以
  • 最新的销售平台 互联网营销的平台有哪
  • 制作网页的基本流程 网页制作和网页设
  • 【帝国CMS】输出带序号的列表(数字排
  • 网站建设公司 三一,中联,极东泵车的
  • 织梦 建站 织梦网站模版后台怎么更改
  • 云服务官网 哪些网站有免费的简历模板
  • 如何建网站要什么条件 建网站要用什么
  • 吉林市移动公司电话 吉林省退休人员网
  • 设计类毕业论文 网站设计与实现毕业论
查看: 123|回复: 3

一段网页的源码

[复制链接]
发表于 2009-9-15 00:57:01 | 显示全部楼层 |阅读模式 IP:江苏扬州
很漂亮,一起来分享啦~
想体验的话,可以看看偶的小博客~




-----------------------------------------------源码---------------------------------------------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>『欢迎光临+++-上帝的小屋-+++』</title>
<style type="text/css">
<!--
a:link {
    color: #999999;
    text-decoration: none;
}
a{TEXT-DECORATION:none}
table {
    font-family: Tahoma, Verdana, "宋体";
    color: #999999;
    font-size: 12px;
    font-weight:bold;
}
body {
    background-image: url();
    background-color: #000000;
}
a:visited {
    color: #999999;
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}
-->
</style>
</head>

<body>
<table border="0" celllpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
    <td align="center" valign="middle">
<p><img src="xiaowu.jpg" width="600" height="400"></a><br>
<br>

       <br>
        <a href="default.asp">『 進 入 天之上帝 的 小 屋 』</a>
        <br>
         <br>
        <br>
  Copyright ? 天之上帝 All Rights Reserved.
<br>
<noscript>
</noscript><br>
</td>
</tr>
</table>
<script language="JavaScript">
if (document.all){
xL=5;
xH=0;
xW=0;
xR=0;
xE=0;
xMY=0;
xMX=0;
xWd=0;
xHd=0;
xF=new Array();
xY=new Array();
xX=new Array();
xS=new Array();
xA=new Array();
xB=new Array();
ini=new Array();
cl=new Array('#fff000','#0000FF','#ff0000','#00ff00','#ff00ff','#ffa500')
document.write('<div id="xouter" style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < xL; i++){
document.write('<div id="xie" style="position:absolute;top:0;left:0;width:10px;height:10px;'
+'font-family:Courier New;font-size:50px;color:#ffffff">.</div>');
}
document.write('</div></div>');
//Initial Placement!
function Set(){
for (i=0; i < xL; i++){
xH=window.document.body.offsetHeight;
xW=window.document.body.offsetWidth;
xA=Math.round(Math.random()*xH);
xB=Math.round(Math.random()*xW);
xS=Math.random()*0.07+0.05;
xR=Math.round(Math.random()*3);
xE=Math.round(Math.random()*2500+50)
if (xR == 3) xB=-xE;
if (xR == 2) xB=xW+xE;
if (xR == 1) xA=-xE;
if (xR == 0) xA=xH;
xF=xW/14;
}
}
Set();
function Assign(){
xouter.style.top=document.body.scrollTop;
for (i=0; i < xL; i++){
xF-=xS*25;
if (xF < 4) xF=3;
xie.style.top =xY;
xie.style.left=xX;
xie.style.fontSize=xF;
xie.style.filter='glow(color='+ini+', strength='+xF/3+')';
}
}
function fly(){
var N=Math.floor(Math.random()*cl.length)
xMY=window.document.body.clientHeight/2;
xMX=window.document.body.clientWidth/2;
xWd=Math.round(Math.random()*40+5);
xHd=Math.round(Math.random()*30+5);
for (i=0; i < xL; i++)
{
xY=xA+=(xMY-xA)*(xS);              
xX=xB+=(xMX-xB)*(xS);  
if ((xX > xMX-xWd) && (xX < xMX+xWd) && (xY > xMY-xHd) && (xY < xMY+xHd)){

xH=window.document.body.offsetHeight;
xW=window.document.body.offsetWidth;
xA=Math.round(Math.random()*xH);
xB=Math.round(Math.random()*xW);
xS=Math.random()*0.05+0.05;
xR=Math.round(Math.random()*3);
xE=Math.round(Math.random()*50+50)
if (xR == 3) xB=-xE;
if (xR == 2) xB=xW+xE;
if (xR == 1) xA=-xE;
if (xR == 0) xA=xH+xE;
}
if ((xX < 0) || (xX > xW) || (xY < 0) || (xY > xH))
{
xF=xW/14;
ini=cl[N];
}
}
Assign();
setTimeout('fly()',10);
}
fly();
}
// -->
</script>
</body>
</body>
</html>
发表于 2010-3-18 15:05:05 | 显示全部楼层 IP:亚太地区
鉴定完毕!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|小黑屋|最新主题|手机版|微赢网络技术论坛 ( 苏ICP备08020429号 )

GMT+8, 2024-9-30 15:29 , Processed in 0.248750 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表