Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.


Join the forum, it's quick and easy

Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Facebook Teens
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Facebook Teens
Similar topics

You are not connected. Please login or register

  

View previous topic View next topic Go down  Message [Page 1 of 1]

1Shaking Links Empty Shaking Links Wed Apr 29, 2009 10:52 am

Keana

Keana
Guest
Guest
Instructions:

-copy and paste in notepad
-save as a js file "filename.js"




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;}

http://www.fs-addick.tk

2Shaking Links Empty Re: Shaking Links Wed Sep 23, 2009 7:59 pm

Khristel™

Khristel™
LEVEL 1
LEVEL 1
Wrong section.
If it is a JS, post it on JS codes.
Topic move to JS codes.

http://profiles.friendster.com/ilovestudy

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

ChatBox
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com