| shaking image w/ ready to paste codes | |
|
Author | Message |
---|
spongebob0291 FD Amateur
Posts : 693
Age : 29
| Subject: shaking image w/ ready to paste codes Sun Apr 05, 2009 4:15 pm | |
| here's a preview: http://profiles.friendster.com/user.php?uid=spongebob0291 codes: - Code:
-
/**********************************/ /* Submitted: by: Angell de Ville */ /**********************************/
function shake(){br=document.getElementsByTagName("A"); for(bage=0;bage<br.length;bage++){br[bage].style.position="relative"; br[bage].onmouseover=function(){shakeit(this);qkie();} br[bage].onmouseout=function(){newPosition(this);top.focus();}}} attachOnLoadHandler(shake);sa=0;pimp=1; function shakeit(go){sa=0;my=go; my.style.left=0;my.style.top=0;}function qkie(){if(sa==1){return;} if(pimp==1){my.style.top=parseInt(my.style.top)+3;pimp++;} else if(pimp==2){my.style.left=parseInt(my.style.left)+3;pimp++;} else if(pimp==3){my.style.top=parseInt(my.style.top)-3;pimp++;} else{my.style.left=parseInt(my.style.left)-3;pimp=1;} setTimeout(qkie,50)}function newPosition(go){ sa=1;go.style.left=0;go.style.top=0;}
compile it as a .js file if you don't want to compile it. here's a ready to paste code - Code:
-
<script src="http://spongebob0291.fileave.com/shakingimage.js"></script> credits: me.. hcg fileave |
|
| |
provanz Full Moderator
Posts : 2671
Age : 33
| Subject: Re: shaking image w/ ready to paste codes Sun Apr 05, 2009 4:20 pm | |
| |
|
| |
spongebob0291 FD Amateur
Posts : 693
Age : 29
| Subject: Re: shaking image w/ ready to paste codes Sun Apr 05, 2009 4:51 pm | |
| |
|
| |
lheendc Co-Admin
Posts : 973
Age : 28
| Subject: Re: shaking image w/ ready to paste codes Wed Apr 08, 2009 8:21 pm | |
| Weeee! Thanks for sharing, it`s much better with your last topic. ;> |
|
| |
gErLaLuzZ Retired Moderator
Posts : 1743
Age : 28
| Subject: Re: shaking image w/ ready to paste codes Thu Apr 09, 2009 2:29 am | |
| |
|
| |
mz.manicka21 Full Moderator
Posts : 1276
Age : 28
| Subject: Re: shaking image w/ ready to paste codes Thu Apr 09, 2009 4:41 pm | |
| |
|
| |
GHEN Graphic Master
Posts : 1150
Age : 30
| Subject: Re: shaking image w/ ready to paste codes Sun Apr 12, 2009 10:13 am | |
| thanks fer te share |
|
| |
jhennyz Full Moderator
Posts : 373
Age : 27
| Subject: Re: shaking image w/ ready to paste codes Tue Apr 14, 2009 12:00 am | |
| ohw..
she's too really good in scripting.,.(angeli)
thanks for sharing this |
|
| |
sheryl36 FD Member
Posts : 135
Age : 28
| Subject: Re: shaking image w/ ready to paste codes Tue Apr 14, 2009 11:45 am | |
| who's really good in scripting? thank you for sharing.. |
|
| |
sEz™ Third Timer
Posts : 57
Age : 28
| Subject: Re: shaking image w/ ready to paste codes Wed Jun 17, 2009 10:43 pm | |
| |
|
| |
keith =) Second Timer
Posts : 24
| Subject: Re: shaking image w/ ready to paste codes Tue Aug 18, 2009 5:58 pm | |
| |
|
| |
Sponsored content
| Subject: Re: shaking image w/ ready to paste codes | |
| |
|
| |
| shaking image w/ ready to paste codes | |
|