***页面背景***华英雄一款酷b了的程序!
把下列代码加到网页的<body></body>标签之间 从google下载我的照片管理软件<html>
<head>
<title>『中华英雄』</title>
<body bgcolor="#000000">
<!--<body topmargin="0" bgcolor="#cae2ba">-->
<!--<body onload="scroll1();" >-->
<script language="javascript">
var images='pic/star2.gif';
var amount=7;
var speed=1;
var runtime = 0;
var cntr=0;
var xcntr=100;
var pulse=25;
var xpos = 0;
var ypos = 0;
var _y;
var temp;
var updown=-10;
var leftright=-5;
if (document.all){
document.write('<div id="iediv" style="position:absolute;top:0px;left:0px">');
document.write('<div id="c" style="position:relative">');
for (n=0; n < amount; n++)
document.write('<img src="'+images+'" style="position:absolute;top:0px;left:0px;visibility:hidden">');
document.write('http://code.ik8.com/html/+images+</div>');
document.write('</div>');
function followmouse(){
xpos = document.body.scrollleft+event.x+updown;
ypos = document.body.scrolltop+event.y+leftright;
}
document.onmousemove = followmouse;
}
else if (document.layers){
window.captureevents(event.mousemove);
function xfollowmouse(evnt){
xpos = evnt.pagex+updown;
ypos = evnt.pagey+leftright;
}
window.onmousemove = xfollowmouse;
for (ns=0; ns < amount; ns++) document.write("<layer name='ie"+ie+"' left=0 top=0 visibility=hide><img src='"+images+"'>http://code.ik8.com/html/+images+</layer>");
}
function msi(){
if (document.layers){
for ( i = 0 ; i < ns ; i++ )
{
temp="n"+i
document.layers.visibility='show';
document.layers.top = ypos+cntr*math.cos((runtime+i*4.5)/5);
document.layers.left =xpos+cntr*math.sin((runtime+i*4.5)/5);
}
cntr+=1;
runtime+=speed;
stp=settimeout('msi()',10);
if (cntr>=100)
{
cntr=100;
speed=2.5;
for ( i = 0 ; i < ns ; i++ )
{
temp="n"+i
document.layers.visibility='show';
document.layers.top=ypos+cntr*math.cos((runtime-100)*i/90);
document.layers.left=xpos+cntr*math.sin((runtime-100)*i/90);
}
}
if (runtime>182)
{
speed=0.5;
for ( i = 0 ; i < ns ; i++ )
{
temp="n"+i
document.layers.top=ypos+xcntr*math.cos(((runtime-182)+i*4.5)/5);
document.layers.left=xpos+xcntr*math.sin(((runtime-182)+i*4.5)/5)*math.cos((runtime-182)/5);
}
}
}
else if (document.all){
for (i=0;i<iediv.all.c.all.length;i++)
{
iediv.all.c.all.style.visibility='visible';
iediv.all.c.all.style.top=ypos+cntr*math.cos((runtime+i*4.5)/5);
iediv.all.c.all.style.left=xpos+cntr*math.sin((runtime+i*4.5)/5);
} cntr+=1;
runtime+=speed;
stp=settimeout('msi()',10);
if (cntr>=100)
{
cntr=100;
speed=2.5;
for (i=0;i<iediv.all.c.all.length;i++)
{
iediv.all.c.all.style.visibility='visible';
iediv.all.c.all.style.top=ypos+cntr*math.cos((runtime-100)*i/90);
iediv.all.c.all.style.left=xpos+cntr*math.sin((runtime-100)*i/90);
}
}
if (runtime>182)
{
speed=0.5;
for (i=0;i<iediv.all.c.all.length;i++)
{
iediv.all.c.all.style.top=ypos+xcntr*math.cos(((runtime-182)+i*4.5)/5);
iediv.all.c.all.style.left=xpos+xcntr*math.sin(((runtime-182)+i*4.5)/5)*math.cos((runtime-182)/5);
}
}
}
if (runtime>210)
{
xcntr-=10;
}
if (document.layers)
_y=-window.innerwidth-90;
else if (document.all)
_y=-document.body.clientwidth-90;
if (xcntr <= _y)
{
runtime=0;
speed=1;
cntr=0;
xcntr=100;
}
}
msi()
//-->
</script>
<style type="text/css">
body{
background-attachment:fixed;
background-image:url('pic/home-1.jpg');
background-repeat:no-repeat;
background-color:'black';
background-position:center 50%
}
</style>
</body></html>
--- -----------------------------------
http://www. h uoyue.com. cn 活跃网,活跃人群的论坛,访问活跃网,将给您带来意想不到的收获,还 可以免费为您开论坛,让您免费拥有与朋友、网友交流的 论坛。你是年轻人吗? 你活跃你就 上!
页:
[1]