สวัสดีจ้า ยังคิดถึงกันซำเหมาเน้อ ^^
Group Blog
 
<<
ธันวาคม 2551
 
 123456
78910111213
14151617181920
21222324252627
28293031 
 
10 ธันวาคม 2551
 
All Blogs
 

♣._.• โค้ดเวสป้าวิ่งตามเม้าส์ •._.♣








♣._.• วางเมาส์ในกรอบเพื่อดูตัวอย่าง •._.♣







♣._.• ก็อปโค้ดไปใส่ที่หน้าจัดการสคริปต์ •._.♣





<div id="span0" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=50 width=50></div>
<div id="span1" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=47 width=47"></div>
<div id="span2" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=44 width=44"></div>
<div id="span3" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=41 width=41"></div>
<div id="span4" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=38 width=38"></div>
<div id="span5" style="position:absolute;visibility:hidden;"><img src=" http://img523.imageshack.us/img523/6299/5dd51wy9.gif" height=35 width=35"></div>

<script>
var step=6
var stepbasic=6
var numberofimages=6
var spacebetweenimgs=30
var x,y
var flag=0
var xpos=new Array()
var ns6=document.getElementById&&!document.all?1:0
for (i=0;i<=6;i++) {
xpos[i]=-100
}
var ypos=new Array()
for (i=0;i<=numberofimages;i++) {
ypos[i]=-100
}
function handlerMM(e) {
x = (document.layers || ns6) ? e.pageX : document.body.scrollLeft+event.clientX
y = (document.layers || ns6) ? e.pageY : document.body.scrollTop+event.clientY
flag=1
}

function initiatetracker() {
if (document.all) {
for (i=0; i<numberofimages; i++) {
var thisspan=eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]
thisspan.visibility="visible"
}
makesnake()
}

if (ns6) {
for (i=0; i<numberofimages; i++) {
document.getElementById("span"+i).style.left=xpos[i]
document.getElementById("span"+i).style.top=ypos[i]
document.getElementById("span"+i).style.visibility="visible"
}
makesnake()
}
if (document.layers) {
for (i=0; i<numberofimages; i++) {
var thisspan=eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]
thisspan.visibility="visible"
}

makesnake()
}
}

function makesnake() {
if (flag==1 && document.all) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
var thisspan = eval("span"+(i)+".style")
thisspan.posLeft=xpos[i]
thisspan.posTop=ypos[i]
}
}

if (flag==1 && ns6) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
document.getElementById("span"+i).style.left=xpos[i]
document.getElementById("span"+i).style.top=ypos[i]
}
}

else if (flag==1 && document.layers) {
for (i=numberofimages; i>=1; i--) {
xpos[i]=xpos[i-1]+spacebetweenimgs
ypos[i]=ypos[i-1]
}
xpos[0]=x+stepbasic
ypos[0]=y

for (i=0; i<numberofimages; i++) {
var thisspan = eval("document.span"+i)
thisspan.left=xpos[i]
thisspan.top=ypos[i]
}
}
var timer=setTimeout("makesnake()",30)
}

if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove=handlerMM;
window.onload=initiatetracker
</script>




เครดิต : Dynamicdrive.com









 

Create Date : 10 ธันวาคม 2551
0 comments
Last Update : 10 ธันวาคม 2551 5:38:45 น.
Counter : 22677 Pageviews.


KungHangGerman
Location :
ปทุมธานี Denmark

[ดู Profile ทั้งหมด]

ให้ทิปเจ้าของ Blog [?]
ฝากข้อความหลังไมค์
Rss Feed
Smember
ผู้ติดตามบล็อก : 49 คน [?]






คู่มือแต่งบล็อค

❤ โค้ดสำหรับมือใหม่ ❤
++++++++++++++++++
❤ Code ภาพมุมบล็อก ❤
++++++++++++++++++
❤ ตารางสี 1 ❤
++++++++++++++++++
❤ ตารางสี 2 ❤




♥♥ สัญลักษณ์แต่งบล็อค ♥♥

(¯`•._.•[_]•._.•´¯) °o.O_O.o°
×÷•.•´¯`•)»_«(•´¯`•.•÷×.。.:✿✿
(×´¯`v^••_••^v´¯`×)☀☁☂☃☄
••*´¨¯¨`*••lll••*´¨¯¨`*••*.:゚‘゚・
••.•´¯`•.•• (¯`•._)_(_.•`¯)。◕‿◕。✎
Oº°‘¨lll¨‘°ºO —(••÷[_]÷••)—•°∴☆
׺°”˜`”°º× พิมพ์ ׺°”˜`”°º×✟ஐ
<º))))><.•_•.><((((º>(¯`•¸•´¯)
–•(-• •-)•–lll «-(¯`v´¯)-»(◕〝◕)*.♡
—•ï¡÷¡ï•_•ï¡÷¡ï•—¸.´)(`•[_]•´)(` .¸
▐ ░ ▒ ▬ ♦ ◊ ◦ ☼ ♪ ☆❉❊❋❖❤
(¯`•._.• •._.•´¯)(¯`•¸•´¯) (◡‿◡✿)
(¯`°.•°•.★* *★ .•°•.°´¯)(◕‿◕✿)
☼ ♂♀♠♣♥❤◎☺☻☼▧▨♨◐◑↔↕▪
★... ...*★.• •*.:。✿✲-•*¤°•★
❃❂❁❀✿✾✽✼✻✺✹✸✷
☼ ♦ ▀ ▄ █ ▌♦◊ ♠ ♣ ▣ ▤ ▥ ▦ ▩ ◘ ◙
]]...¤¸¸.•´¯`•.¸•..>>--» [[«--<<
•:*´¨`*:•.☆❤`•.¸¸.•´´¯`••


   online now







Friends' blogs
[Add KungHangGerman's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.