membuat gambar pada mouse diweb anda
 
Go Back   Home > Komputer & Games PC

Daftar
Lupa Password?


Upload Foto Video Umum Radio & TV Online


membuat gambar pada mouse diweb anda

Loading...



 
Reply
 
Thread Tools Search this Thread
Reply With Quote     #1   Report Post  

membuat gambar pada mouse diweb anda

mungkin sebagain besar udah tau script mebuat tampilan gambar pada mouse dalm web anda, tapi gak ada salahnyakan kalo gw posting mungkin bisa berguna :D . nanti script ini di taruh diatas tag body ato dalam tag bodynya juga bisa.

<script language="JavaScript1.2">
<!--


var trailLength = 8 // The length of trail (8 by default; put more for longer "tail")
var path = "file:///D|/iyn/lisna%20gaga.jpg" // URL foto anda

// jangan dirubah apun yang ada disini
var isIE = false,isNav = false,range = "all.",style = ".style",i,d = 0
var topPix = ".pixelTop",leftPix = ".pixelLeft",images,storage
if (document.layers) { // browser sniffer
isNav = true,range = "layers.",style = "",topPix = ".top",leftPix = ".left"
} else if (document.all) {
isIE = true
}
function initTrail() { // prepares the script
images = new Array() // prepare the image array
for (i = 0; i < parseInt(trailLength); i++) {
images[i] = new Image()
images[i].src = path
}
storage = new Array() // prepare the storage for the coordinates
for (i = 0; i < images.length*3; i++) {
storage[i] = 0
}
for (i = 0; i < images.length; i++) { // make divs for IE and layers for Navigator
(isIE) ? document.write('<div id="obj' + i + '" style="position: absolute; z-Index: 100; height: 0; width: 0"><img src="' + images[i].src + '"></div>') : document.write('<layer name="obj' + i + '" width="0" height="0" z-index="100"><img src="' + images[i].src + '"></layer>')
}
trail()
}
function trail() { // trailing function
for (i = 0; i < images.length; i++) { // for every div/layer
eval("document." + range + "obj" + i + style + topPix + "=" + storage[d]) // the Y-coordinate
eval("document." + range + "obj" + i + style + leftPix + "=" + storage[d+1]) // the X-coordinate
d = d+2
}
for (i = storage.length; i >= 2; i--) { // save the coordinate for the div/layer that's behind
storage[i] = storage[i-2]
}
d = 0 // reset for future use
var timer = setTimeout("trail()",10) // call recursively
}
function processEvent(e) { // catches and processes the mousemove event
if (isIE) { // for IE
storage[0] = window.event.y+document.body.scrollTop+10
storage[1] = window.event.x+document.body.scrollLeft+10
} else { // for Navigator
storage[0] = e.pageY+12
storage[1] = e.pageX+12
}
}
if (isNav) {
document.captureEvents(Event.MOUSEMOVE) // Defines what events to capture for Navigator
}
if (isIE || isNav) { // initiates the script
initTrail()
document.onmousemove = processEvent // start capturing
}
//-->
</script>

nah dicopy paste aja script di atas ini tapi inget narohnya di atas tag body ato dalam tag bodynya juga bisa.:wink:
metwot
metwot metwot is offline
Home Level

Post: 11
 
Reputasi: 0

Loading...
       





Reply With Quote     #2   Report Post  

Re: membuat gambar pada mouse diweb anda

Anu... iki opo toh mas saya ndak ngeti, iki bahasa opo?? gunanya buat opo??
cantsile
cantsile cantsile is offline
City Level

Post: 194
 
Reputasi: 1






Reply With Quote     #3   Report Post  

Re: membuat gambar pada mouse diweb anda

Ini adalah script untuk yang suka bikin2 website sendiri. Kalau nggak pernah bikin website mungkin sulit untuk mengerti
rahwana
rahwana rahwana is offline
City Level

Post: 465
 
Reputasi: 3

__________________
Ayom Rahwana
--------------
Tersedia : Internet murah di Sidoarjo dan Solo.
Internet, bukan sekedar murah, tapi berkualitas





Reply With Quote     #4   Report Post  

Re: membuat gambar pada mouse diweb anda

waaa sulit sekaki masbro,naro dimana ya?
kentong kentong is offline
National Level

Post: 935
 
Reputasi: 2

loading...
Reply
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search





Pengumuman Penting

- Pengumuman selengkapnya di Forum Pengumuman & Saran


Cari indonesiaindonesia.com
Cari Forum | Post Terbaru | Thread Terbaru | Belum Terjawab


Powered by vBulletin Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.