网页特效放烟花(烟花特效插件)

http://www.itjxue.com  2023-02-04 07:59  来源:未知  点击次数: 

麻烦这位大侠给那个用JAVA在网页上做烟花那个效果的脚本给我好么? 124984063@qq.com 我的邮箱 谢谢了

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""

html xmlns=""

head

meta http-equiv="Content-Type" content="text/html; charset=utf-8" /

title漂亮的烟花,alixixi.com收集。/title

style type="text/css"

html,body { height:100%;}

body { background:#000; color:#FF0000; overflow:hidden;}

.divs { position:absolute; width:20px; height:20px;}

/style

/head

body

告诉你一个应有尽有的网页特效网址:a href="";/a

hr /

script type="text/javascript"

var getRondom = function(small,big){

return small+(big-small)*Math.random();

}

var $ = function(id){ return document.getElementById(id);}

function circle(){

c=document.createElement('div');

c.innerHTML="*";

c.style.position ='absolute';

c.style.left = getRondom(200,window.screen.availWidth-200)+'px';

c.style.top = window.screen.availHeight-200 +'px';

document.body.appendChild(c);

h1 = getRondom(20,window.screen.availHeight-200);

h=window.screen.availHeight ;

t1 = setInterval(function(){h=h-10;c.style.top=h+"px"; if(h=h1) {clearInterval(t1);start(c) }},10)

}

function show(s1,r1){

n=20;

divs = s1.getElementsByTagName('div');

for(var i=0; idivs.length;i++){

divs[i].className='divs';

divs[i].style.left=r1*Math.cos(360/n*i)+'px';

divs[i].style.top=r1*Math.sin(360/n*i)+'px';

}

}

function start(s){

s.style.position='relative';

for(var i=0;i20;i++){

s.appendChild(document.createElement('div'))['innerHTML']='*';

}

r=0;

show(s,r);

t = setInterval(function(){r=r+10;show(s,r); if(r=150) {clearInterval(t);s.parentNode.removeChild(s); circle9 = new circle(); }},50)

}

circle1 = new circle();

/script

/body

/html

我想找一个网页 打开就是放烟花的

html head titleFireworks/title meta http-equiv="Content-Type" content="text/html; charset=gb2312" /head body bgcolor="#000000" layer name="a0" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,2,2"/layer layer name="a1" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,2,2"/layer layer name="a2" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,2,2"/layer layer name="a3" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,2,2"/layer layer name="a4" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"/layer layer name="a5" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,2,2"/layer layer name="a6" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"/layer layer name="a7" left=10 top=10 visibility=show bgcolor="#ffffff" clip="0,0,2,2"/layer layer name="a8" left=10 top=10 visibility=show bgcolor="#fff000" clip="0,0,2,2"/layer layer name="a9" left=10 top=10 visibility=show bgcolor="#ffa000" clip="0,0,2,2"/layer layer name="a10" left=10 top=10 visibility=show bgcolor="#ff00ff" clip="0,0,2,2"/layer layer name="a11" left=10 top=10 visibility=show bgcolor="#00ff00" clip="0,0,2,2"/layer layer name="a12" left=10 top=10 visibility=show bgcolor="#0000ff" clip="0,0,2,2"/layer layer name="a13" left=10 top=10 visibility=show bgcolor="#ff0000" clip="0,0,2,2"/layer div id="stars_IE" style="position:absolute;top:50px;left:50px" div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:2px"/div div style="position:relative;width:2px;height:2px;background:#fff000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#00ff00;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#FF0000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#fff000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"/div div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#FF0000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ffffff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#fff000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ffa000;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#ff00ff;font-size:2px"/div div style="position:relative;width:2px;height:2px;background:#0000ff;font-size:1px"/div div style="position:relative;width:2px;height:2px;background:#FF0000;font-size:1px"/div /div SCRIPT LANGUAGE="JavaScript" !-- Begin var out_colors = new Array(9);out_colors[0] = 'ff0000';out_colors[1] = '00ff00';out_colors[2] = '000aff';out_colors[3] = 'ff00ff';out_colors[4] = 'ffa500';out_colors[5] = 'ffff00';out_colors[6] = '00ff00';out_colors[7] = 'ffffff';out_colors[8] = 'fffff0'; var in_colors = new Array(5);in_colors[0] = 'ffa500';in_colors[1] = '55ff66';in_colors[2] = 'AC9DFC';in_colors[3] = 'fff000';in_colors[4] = 'fffff0'; var time_delay=5; var outline_x; var star_radius; var scale_x=9; var scale_y=4; var foot_steps=5; var current_steps = 0; var out_steps=90; var fade_steps=150; var end_steps=700; var Xpos = 1; var Ypos = 1; var initial_color = 'ffa000'; var Mtop = 50; var Mleft = 50; var top_tmp=Mtop; if (document.all) { //IE var star_radius= new Array(stars_IE.all.length); for ( i = 0 ; i stars_IE.all.length ; i++ ) { star_radius[i] = window.document.body.offsetHeight / scale_y *Math.random(); } outline_x = window.document.body.offsetWidth / scale_x; } else { if (document.layers) { //NS var star_radius= new Array(14); for ( i = 0 ; i 14 ; i++ ) { star_radius[i] = window.innerHeight / scale_y *Math.random(); } outline_x = window.innerWidth / scale_x; } } function Fireworks() { if (document.all) { //IE for ( i = 0 ; i stars_IE.all.length ; i++ ) { c=Math.round(Math.random()*[out_colors.length-1]); if (current_steps fade_steps) { if (current_steps out_steps) { stars_IE.all[i].style.background=initial_color; } else { stars_IE.all[i].style.background=out_colors[c]; } stars_IE.all[i].style.top = Mtop + star_radius[i]*Math.sin(2*Math.PI*i/stars_IE.all.length)*current_steps/fade_steps; stars_IE.all[i].style.left = Mleft + star_radius[i]*Math.cos(2*Math.PI*i/stars_IE.all.length)*current_steps/fade_steps; } else { stars_IE.all[i].style.background=out_colors[c]; document.all.stars_IE.style.top = top_tmp - Math.round((fade_steps-current_steps)/15); } } } else { if (document.layers) { //NS for ( i = 0 ; i 14 ; i++ ) { //NS var templayer = "a"+i; c=Math.round(Math.random()*[out_colors.length-1]); if (current_steps fade_steps) { if (current_steps out_steps) { document.layers[templayer].bgColor=initial_color; } else { document.layers[templayer].bgColor=out_colors[c]; } document.layers[templayer].top = Mtop + star_radius[i]*Math.sin(2*Math.PI*i/stars_IE.all.length)*current_steps/fade_steps; document.layers[templayer].left = Mleft + star_radius[i]*Math.cos(2*Math.PI*i/stars_IE.all.length)*current_steps/fade_steps; } else { stars_IE.all[i].style.background=out_colors[c]; document.layers[templayer].top = top_tmp - Math.round((fade_steps-current_steps)/15); } } } } current_steps+= foot_steps; T=setTimeout("Fireworks()",time_delay); if (current_steps == end_steps) { current_steps = -10; k=Math.round(Math.random()*[in_colors.length-1]); initial_color = in_colors[k]; if (document.all) { //IE Dtop = window.document.body.clientHeight - 250; Dleft = outline_x * 3.5; Mtop = Math.round(Math.random()*Dtop); Mleft = Math.round(Math.random()*Dleft); document.all.stars_IE.style.top = Mtop+document.body.scrollTop; document.all.stars_IE.style.left = Mleft+document.body.scrollLeft; top_tmp = Mtop+document.body.scrollTop; } else { if (document.layers) { //NS Dleft = window.innerWidth - 100; Dtop = window.innerHeight - 100; Mtop = Math.round(Math.random()*Dtop+window.pageYOffset); Mleft = Math.round(Math.random()*Dleft+window.pageXOffset); document.layers[templayer].top = Mtop; document.layers[templayer].left = Mleft; } } if ((Mtop 20) || (Mleft 20)) { Mtop += 90; Mleft += 90; } if (document.all) { //IE for ( i = 0 ; i stars_IE.all.length ; i++ ) { star_radius[i] = window.document.body.offsetHeight / scale_y *Math.random(); } outline_x = window.document.body.offsetWidth / scale_x; } else { if (document.layers) { //NS for ( i = 0 ; i 14 ; i++ ) { star_radius[i] = window.innerHeight / scale_y *Math.random(); } outline_x = window.innerWidth / scale_x; } } } } Fireworks(); // End -- /script /body /html 复制到笔记本把。txt改成。html就行了 希望采纳

有谁知道一个网站```用鼠标在中间黑的地方点`就会出现美丽的烟花```谁知道是哪个网站啊??

不知道是不是你以前所看过的 你搜索秘密花园 进入网站后 找到网页特效 特效不多 列表上就5各吧 有一个是烟花【点击后进入预览 可以看看效果】

怎样关闭百度贴吧的特效?烟花很烦人

你好,目前为止只能临时关闭这个烦人的广告,每次弹出来时按键盘左上角ESC关闭,这个情况已经反馈了,目测会解决的,敬请期待吧。

暑假作业答案,我记得有个网址,进去后鼠标后面放烟花,那个网址是啥来着?

这个属于网页特效的,在百度里面输入 网页特效 、鼠标跟随特效 等等几个字,一搜索会出来很多,自己找一下就行。有很多的,各种各样的特效,也会找到网页的特效代码,复制到你自己的网页里面会很漂亮的。祝你做的网页好看。如果满意,请选为满意答案,谢谢

求处一个制作java效果的软件.

有个软件叫Anfy,是专门制作Java网页特效的,注册费要几百美元,不注册的话,你的网页发布后,点击Java特效,便会出现意想不到的东西.

放烟花就是这个软件做的

(责任编辑:IT教学网)

更多

推荐3DMAX教程文章