[quote]****************************************
Shake image script (onMouseover)-
� Dynamic Drive (www.dynamicdrive.com)
For full source code, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*****************************************/
//configure shake degree (where larger # equals greater shake)
var rector=3
///////DONE EDITTING///////////
var stopit=0
var a=1
function initshake(which){
stopit=0
shake=which
shake.style.left=0
shake.style.top=0
}
function rattleimage(){
if ((!document.all&&!document.getElementById)||stopit==1)
return
if (a==1){
shake.style.top=parseInt(shake.style.top)+rector
}
else if (a==2){
shake.style.left=parseInt(shake.style.left)+rector
}
else if (a=
){
shake.style.top=parseInt(shake.style.top)-rector
}
else{
shake.style.left=parseInt(shake.style.left)-rector
}
if (a<4)
a++
else
a=1
setTimeout("rattleimage()",50)
}
function stoprattle(which){
stopit=1
which.style.left=0
which.style.top=0
}[/quote]
terus ini simpan di cssnya
[quote].shakeimage{
position:relative;
}[/quote]
selamat mencoba ya kawan
[b]bro.....[/b]
nech kode yg turun/naik di sebelah kiri...
kayak na sech salah....
tolong di perbaiki dunks....
<">
[b]all[/b]
tolong latin JS akulah ...
kok cbox,mp3,aquarium n slide galeri fotonya kok gk jalan ..
ne jS aku <">ne FS aku <">makasih tolong bantuannya
Last edited by hari risandi (2008-06-13 14:55:02)
pedro023
kok gue coba gambar friend kita kok ga getar bro??? 







http://h1.ripway.com/cannabiz/coba.js
Last edited by pedro023 (2008-06-13 15:04:04)


[/quote]
coba tambahkan kode ini..
<">di JSnya bro dibagian B..
Last edited by arcatari (2008-06-13 15:07:03)
all tolong liatin fs ku dong.. d sini lemot... apa aja yang jalan,,, kalo d sini wvmnya gak jalan,, tolong yaaaaa....
__________________________________
[img]http://i281.photobucket.com/albums/kk218/agam789/fondomatrix-1.gif[/img]
Last edited by andHa (2008-06-13 15:26:25)
Last edited by pedro023 (2008-06-13 15:25:25)
