เข้าสู่ระบบ(Log in)
FaceBook Fan-page
Latest topics
Similar topics
มีสายรุ้ง AURORA ลอยตาม MOUSE
หน้า 1 จาก 1
มีสายรุ้ง AURORA ลอยตาม MOUSE
นำ CODE ด้านล่างไปไว้ที่ <body> ครับ
- Code:
<LAYER NAME="a0" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a1" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a2" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a3" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a4" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a5" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF00FF" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a6" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,5,1"></LAYER>
<LAYER NAME="a7" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffffff" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a8" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#fff000" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a9" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ffa000" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a10" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#ff00ff" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a11" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#00ff00" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a12" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#0000ff" CLIP="0,0,7,2"></LAYER>
<LAYER NAME="a13" LEFT=10 TOP=10 VISIBILITY=SHOW BGCOLOR="#FF0000" CLIP="0,0,8,3"></LAYER>
<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:2px;height:1px;background:#ffffff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#fff000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#ffa000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#ff00ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#00ff00;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#0000ff;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:2px;height:1px;background:#FF0000;font-size:1px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#ffffff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#fff000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#ffa000;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#ff00ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#00ff00;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:3px;height:2px;background:#0000ff;font-size:2px;visibility:visible"></div>')
write('<div style="position:relative;width:4px;height:3px;background:#FF0000;font-size:3px;visibility:visible"></div>')
write('</div>')
}
}
var Clrs=new Array(6)
Clrs[0]='ff0000';
Clrs[1]='00ff00';
Clrs[2]='000aff';
Clrs[3]='ff00ff';
Clrs[4]='fff000';
Clrs[5]='fffff0';
if (document.layers)
{window.captureEvents(Event.MOUSEMOVE);}
var yBase = 4;
var xBase = 1;
var step;
var currStep = 4;
var Xpos = 9;
var Ypos = 6;
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/7;
xBase = window.document.body.offsetWidth/7;
}
else if (document.layers)
{
yBase = window.innerHeight/3;
xBase = window.innerWidth/3;
}
if (document.all)
{
for ( i = 0 ; i < starsDiv.all.length ; i++ )
{step=3;
starsDiv.all[i].style.top = Ypos + yBase*Math.cos((currStep + i*5)/52)*Math.cos(1.7+currStep/200);
starsDiv.all[i].style.left = Xpos + xBase*Math.sin((currStep + i*21)/10)*Math.sin(9.2+currStep/400);
for (ai=0; ai < Clrs.length; ai++)
{
var c=Math.round(Math.random()*[ai]);
}
starsDiv.all[i].style.background=Clrs[c];
}
}
else if (document.layers)
{
for ( j = 0 ; j < 14 ; j++ ) //number of NS layers!
{step = 4;
var templayer="a"+j
document.layers[templayer].top = Ypos + yBase*Math.sin((currStep + j*4)/12)*Math.cos(0.7+currStep/200);
document.layers[templayer].left = Xpos + xBase*Math.sin((currStep + j*3)/10)*Math.sin(8.2+currStep/400);
for (aj=1; aj < Clrs.length; aj++)
{
var c=Math.round(Math.random()*[aj]);
}
document.layers[templayer].bgColor=Clrs[c];
}
}
currStep+= step;
setTimeout("animateLogo()", 10);
}
animateLogo();
// -->
</script>
Smilez- จอมพลปราชญ์
- จำนวนข้อความ : 985
: 34
คะแนน : 1234
ชื่อเสียง : 68
Registration date : 28/04/2009
Similar topics
» คลิ๊ก MOUSE ขวา แล้วมี MENU ที่นำ MOUSE ไปวางแล้ว
» มีรูป CURSOR ของ MOUSE มาวิ่งตาม MOUSE มีเงา
» ข้อความเปลี่ยนตาม MOUSE
» มีรูป CURSOR ของ MOUSE มาวิ่งตาม MOUSE มีเงา
» ข้อความเปลี่ยนตาม MOUSE
หน้า 1 จาก 1
Permissions in this forum:
คุณไม่สามารถพิมพ์ตอบ
Tue Feb 11, 2020 7:42 pm by XyzGame
» Ran Top เซิฟEP9 เปิดวันศุกร์ที่ 8 พ.ย. 62 เวลา 18.00 น.
Sun Nov 10, 2019 5:23 pm by XyzGame
» Ran Top เซิฟEP9 เปิดวันศุกร์ที่ 8 พ.ย. 62 เวลา 18.00 น.
Sun Nov 10, 2019 5:22 pm by XyzGame
» Ran Aki เซิฟEP9 7อาชีพ +11 เวลตัน250 เปิดยาว มั่นคง คนเล่นเพียบ
Mon Sep 09, 2019 12:33 pm by XyzGame
» Ran Aki เซิฟEP9 7อาชีพ +11 เวลตัน250 เปิดยาว มั่นคง คนเล่นเพียบ
Mon Sep 09, 2019 12:31 pm by XyzGame
» ◤【卐】✿✿ RAN-FROST EP 12 อัพเดลอาวุธไอน้ำ ชุด290อัพเดลแฟชั่น Avenger engame ✿✿【卐】◥
Mon Jul 22, 2019 10:19 pm by aowmygod
» RAN-ZOOMMER EP 12 9 อาชีพ อาวุธสูงสุดมังกรฟ้าชุดสูงสุด 290 เปิดยาว
Sat May 25, 2019 9:24 pm by aowmygod
» ◤【卐】✿✿ RAN-OBZ EP 11 9 อาชีพ สูงสุด+15 ไอเท็มใหม่ล่าสุด สมดุล อัพเดลตลอด ✿✿【卐】◥
Wed Apr 24, 2019 5:15 pm by aowmygod
» ◤【卐】✿✿ RAN-COOKIE EP 11 สูงสุด+15 ออโต้สกิล จบวอร์วาปแมพบอสพิเศษ มังกรทอง ✿✿【卐】◥
Sun Apr 07, 2019 5:25 pm by aowmygod