源码网,源码论坛,源码之家,商业源码,游戏源码下载,discuz插件,棋牌源码下载,精品源码论坛

 找回密码
 立即注册
查看: 35|回复: 28

[JavaScript] 非常不错的页面特效 建议大家看下

[复制链接]

7万

主题

861

回帖

32万

积分

论坛元老

Rank: 8Rank: 8

积分
329525
发表于 2007-6-8 00:00:00 | 显示全部楼层 |阅读模式
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0021)http://www.fuckhacker.net/ -->
<HTML><HEAD><TITLE>精灵'S blog</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>BODY {
    FONT-FAMILY: "Courier New", "Courier", monospace; BACKGROUND-COLOR: black
}
A {
    COLOR: #000000; BACKGROUND-COLOR: #88ff88; TEXT-DECORATION: none
}
A:hover {
    COLOR: #88ff88; BACKGROUND-COLOR: #000000
}
.ik {
    LEFT: 50%; POSITION: absolute; TOP: 50%; BACKGROUND-COLOR: #000000; moz-border-radius: 50%; border-radius: 50%
}
</STYLE>

<META content="MSHTML 6.00.3790.1830" name=GENERATOR></HEAD>
<BODY>
<P style="TEXT-ALIGN: center"></P>
<DIV class=ik id=ik0></DIV>
<DIV class=ik id=ik1></DIV>
<DIV class=ik id=ik2></DIV>
<DIV class=ik id=ik3></DIV>
<DIV class=ik id=ik4></DIV>
<DIV class=ik id=ik5></DIV>
<DIV class=ik id=ik6></DIV>
<DIV class=ik id=ik7></DIV>
<DIV class=ik id=ik8></DIV>
<DIV class=ik id=ik9></DIV>
<DIV class=ik id=ik10></DIV>
<DIV class=ik id=ik11></DIV>
<DIV class=ik id=ik12></DIV>
<DIV class=ik id=ik13></DIV>
<DIV class=ik id=ik14></DIV>
<DIV class=ik id=ik15></DIV>
<DIV class=ik id=ik16></DIV>
<DIV class=ik id=ik17></DIV>
<DIV class=ik id=ik18></DIV>
<DIV class=ik id=ik19></DIV>
<DIV class=ik id=ik20></DIV>
<DIV class=ik id=ik21></DIV>
<DIV class=ik id=ik22></DIV>
<DIV class=ik id=ik23></DIV>
<DIV class=ik id=ik24></DIV>
<DIV class=ik id=ik25></DIV>
<DIV class=ik id=ik26></DIV>
<DIV class=ik id=ik27></DIV>
<DIV class=ik id=ik28></DIV>
<DIV class=ik id=ik29></DIV>
<DIV class=ik id=ik30></DIV>
<DIV class=ik id=ik31></DIV>
<DIV class=ik id=ik32></DIV>
<DIV class=ik id=ik33></DIV>
<DIV class=ik id=ik34></DIV>
<DIV class=ik id=ik35></DIV>
<DIV class=ik id=ik36></DIV>
<DIV class=ik id=ik37></DIV>
<DIV class=ik id=ik38></DIV>
<DIV class=ik id=ik39></DIV>
<DIV class=ik id=ik40></DIV>
<DIV class=ik id=ik41></DIV>
<DIV class=ik id=ik42></DIV>
<DIV class=ik id=ik43></DIV>
<DIV class=ik id=ik44></DIV>
<DIV class=ik id=ik45></DIV>
<DIV class=ik id=ik46></DIV>
<DIV class=ik id=ik47></DIV>
<DIV class=ik id=ik48></DIV>
<DIV class=ik id=ik49></DIV>
<DIV class=ik id=ik50></DIV>
<DIV class=ik id=ik51></DIV>
<DIV class=ik id=ik52></DIV>
<DIV class=ik id=ik53></DIV>
<DIV class=ik id=ik54></DIV>
<DIV class=ik id=ik55></DIV>
<DIV class=ik id=ik56></DIV>
<DIV class=ik id=ik57></DIV>
<DIV class=ik id=ik58></DIV>
<DIV class=ik id=ik59></DIV>
<DIV class=ik id=ik60></DIV>
<DIV class=ik id=ik61></DIV>
<DIV class=ik id=ik62></DIV>
<DIV class=ik id=ik63></DIV>
<DIV class=ik id=ik64></DIV>
<DIV class=ik id=ik65></DIV>
<DIV class=ik id=ik66></DIV>
<DIV class=ik id=ik67></DIV>
<DIV class=ik id=ik68></DIV>
<DIV class=ik id=ik69></DIV>
<DIV class=ik id=ik70></DIV>
<DIV class=ik id=ik71></DIV>
<DIV class=ik id=ik72></DIV>
<DIV class=ik id=ik73></DIV>
<DIV class=ik id=ik74></DIV>
<DIV class=ik id=ik75></DIV>
<DIV class=ik id=ik76></DIV>
<DIV class=ik id=ik77></DIV>
<DIV class=ik id=ik78></DIV>
<DIV class=ik id=ik79></DIV>
<DIV class=ik id=ik80></DIV>
<DIV class=ik id=ik81></DIV>
<DIV class=ik id=ik82></DIV>
<DIV class=ik id=ik83></DIV>
<DIV class=ik id=ik84></DIV>
<DIV class=ik id=ik85></DIV>
<DIV class=ik id=ik86></DIV>
<DIV class=ik id=ik87></DIV>
<DIV class=ik id=ik88></DIV>
<DIV class=ik id=ik89></DIV>
<DIV class=ik id=ik90></DIV>
<DIV class=ik id=ik91></DIV>
<DIV class=ik id=ik92></DIV>
<DIV class=ik id=ik93></DIV>
<DIV class=ik id=ik94></DIV>
<DIV class=ik id=ik95></DIV>
<DIV class=ik id=ik96></DIV>
<DIV class=ik id=ik97></DIV>
<DIV class=ik id=ik98></DIV>
<DIV class=ik id=ik99></DIV>
<SCRIPT type=text/javascript>
var r;
var a;
var ai;
var n;
var w;
var k;
var inter;
var period=20000;
var dur; 
var hdur2;
var hdur;
var z;
var nn;
var donut;
var time;
var id = new Array();
for(i=0;i<100;i++){
    id[i]=document.getElementById('ik'+i);
}

function again(){
    if(id){
        for(i=0;i<100;i++){
            id[i].style.backgroundColor='rgb(0,0,0)';
        }
    }
    r=0;
    a=0;
    ai=Math.random()/5.0-0.1;
    n=Math.floor(Math.random()*17)+3;
    w=Math.floor(Math.random()*11)+1;
    if(n*w>100){
        n=Math.floor(n/w);
    }
    k=Math.random()*2.0+0.3;
    if(Math.random()<0.5) k=-k;
    inter=1+Math.floor(Math.random()*125);
    dur = Math.floor(period/inter); 
    hdur2=dur*dur/4;
    hdur = dur/2;
    z=2*Math.PI/(n*(1+Math.random()/10));
    nn=Math.floor(Math.random()*n)+1;
    donut=Math.random()*10.0-5.0;
    time=0;
    for(i=0;i<n*w;i++){
        id[i].style.backgroundColor='rgb('
            +Math.round(64+Math.random()*191)+','
            +Math.round(64+Math.random()*191)+','
            +Math.round(64+Math.random()*191)+')';
    }
    hey();
}


function hey(){
    for(i=0;i<n*w;i++){
        tt=time-hdur;
        blah=(Math.sqrt(hdur2-tt*tt)/dur) * (donut+65*Math.cos(k*a+z*i/nn));
        L=blah*Math.cos(i*z+a);
        T=blah*Math.sin(i*z+a);
        id[i].style.left=Math.round((50+L)*10)/10+'%';
        id[i].style.top =Math.round((50+T)*10)/10+'%';
        id[i].style.width=Math.sqrt(4+Math.floor(L*L+T*T))+"px";
        id[i].style.height=Math.sqrt(4+Math.floor(L*L+T*T))+"px";
        if(Math.random()<0.01){
            id[i].style.backgroundColor='rgb('
                +Math.round(64+Math.random()*191)+','
                +Math.round(64+Math.random()*191)+','
                +Math.round(64+Math.random()*191)+')';
        }
    }
    a+=ai;
    time++;
    if(time<dur){
        setTimeout('hey();',inter);
    }else{
        setTimeout('again();',inter);
    }
}
again();
</SCRIPT>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>
<P style="TEXT-ALIGN: center"> </P>

</BODY></HTML>

[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
回复

使用道具 举报

2

主题

2万

回帖

347

积分

中级会员

Rank: 3Rank: 3

积分
347
发表于 2022-8-8 11:34:58 | 显示全部楼层
看看看看
回复 支持 反对

使用道具 举报

0

主题

2万

回帖

66

积分

注册会员

Rank: 2

积分
66
发表于 2022-9-12 09:20:59 | 显示全部楼层
搞个免费的用用
回复 支持 反对

使用道具 举报

2

主题

2万

回帖

69

积分

注册会员

Rank: 2

积分
69
发表于 2022-9-13 11:31:56 | 显示全部楼层
啊,数码撒飒飒飒飒
回复 支持 反对

使用道具 举报

4

主题

2万

回帖

262

积分

中级会员

Rank: 3Rank: 3

积分
262
发表于 2022-12-18 03:37:32 | 显示全部楼层
问问问企鹅哇哇哇哇哇
回复 支持 反对

使用道具 举报

1

主题

2万

回帖

182

积分

注册会员

Rank: 2

积分
182
发表于 2022-12-31 11:01:34 | 显示全部楼层
老衲笑纳了
回复 支持 反对

使用道具 举报

0

主题

2万

回帖

66

积分

注册会员

Rank: 2

积分
66
发表于 2023-3-11 04:21:49 | 显示全部楼层
笑纳了老板
回复 支持 反对

使用道具 举报

4

主题

2万

回帖

303

积分

中级会员

Rank: 3Rank: 3

积分
303
发表于 2023-4-20 22:38:45 | 显示全部楼层
来看看!!!
回复 支持 反对

使用道具 举报

15

主题

2万

回帖

122

积分

注册会员

Rank: 2

积分
122
发表于 2023-4-29 14:58:43 | 显示全部楼层
sdsadsadsadf
回复 支持 反对

使用道具 举报

1

主题

2万

回帖

207

积分

中级会员

Rank: 3Rank: 3

积分
207
发表于 2023-6-25 07:17:42 | 显示全部楼层
。。。。。。。。。。。。。。。
回复 支持 反对

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

手机版|小黑屋|网站地图|源码论坛 ( 海外版 )

GMT+8, 2025-2-8 00:01 , Processed in 0.182969 second(s), 26 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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