Pages: 12
Last edited by EleeGirl (2008-08-09 05:56:22)

[/b]
I like it
I like it[/quote]
Your Welcome!! Glad to help!!
[quote=josh07]so this trick is only for overlay layout? please response..[/quote]
CSS also can
){
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]
you can put it below your js codes compilation
in your js extension file...
and if you have a customized image on your
customized boxes or addbox or on some tricks
with images... add the mouseover/out codes...
<">btw... not all those type of codes that you see
on tutorial sites like Dynamic Drive are just
copy paste codes... sometimes you really have
to re-edit it big time!!
heheh.. I hope i've explained it right nyahahahh!!
hope this helps...
@ EleeGirl
Thanx for posting it also... coz i forgot about this trick...
I'm using it now... Last edited by Refresh/Reload (2008-08-09 15:02:51)
if you confused for applying it, refer to [b]Refresh/Reload[/b] post above
Please do not rip codes. Properly credit them. What if someone rips your work and claim it for yourself?
Look at the codes:
[quote][align=center]<style>
.shakeimage{
position:relative
}
</style>
<script language="JavaScript1.2">
/*
Shake image script (onMouseover)-
[b]� Dynamic Drive (www.dynamicdrive.com)[/b]
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 init(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
}
</script>[/align][/quote]
Tsk. This is your second time to rip.
Please do not do that or else you will be labeled as a ripper.
Last edited by Deviantangel1995 (2008-08-09 23:29:08)
remember this not because u browse for it and post it here
credit will be address to urs...
let other thank u for sharing .. but dont brag and insist..
second.. not because codes given are flexible and editable
u can claim it as urs... remember the original coder...
since u wont came up to it without them...
jus be a liltle sensible...
[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
*/
modified script here[/quote]
in my opinion this thread should be kinos thread now lol
for modifying the codes ...
see his work [b]its wokable now for non overlay user [/b]Last edited by switpotato (2008-08-10 00:21:11)
but how the other know? you need to provide this with a [b]PREVIEW PAGE[/b]!
tc always..
Topic locked!
reason? failure to present any preview...