update!!!!.....i follow the update code from Nopathzz......[b]just copy de code[/b] update dis code in [b]7/6/08.[/b]...
----------------------------------------------------------------------------------------------------------
before share for de all.....i would like to be thank for bro [b]Nopatzzz[/b] from FTI he give me
a premissin to share his code......so give the reputation n credit to bro [b]nopatzzz[/b]
thnk again bro [b]nopatz[/b]....
put dis code into your js [b]step by step[/b]...
1st copy n paste dis main code into your external.js or tracker.js to me its better
put into xternal.js to easier success de code.....if u want to put in tracker.js just put in last bottom your
js code...
<">copy dis into your js file....put in last botton your code js
[b]update[/b] dis one put the
[b]GETELEMENTSBYCLASSNAME[/b]
<">then copy dis code into your tracker.js in last bottom your code js again....
this code for image shake
[quote]Code:
/****************************************
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]
then next step put dis code into your tracker.js on the A section the top of your tracker.js code....
[b]update for dis one[/b]
<">then the nex step put dis code in your tracker.js on the last bottom your js code
[b]update this one[/b]
<">lastlly put dis css code into your xternal.css that it......simple
<">any question can ask me......mybe i can help.......
for the preview visit my profile using FFox and IE also can view.....
[url=http://profiles.friendster.com/xinoxs][b]XINOXS[/b][/url]
Last edited by noxs (2008-06-07 06:44:29)