SBL GRAPHICS DESIGNZ
You need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Hoping you'll be an active member
Regards: sbl graphics Team
Shaking primary Pic 358e34g
SBL GRAPHICS DESIGNZ
You need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Hoping you'll be an active member
Regards: sbl graphics Team
Shaking primary Pic 358e34g
SBL GRAPHICS DESIGNZ
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SBL GRAPHICS DESIGNZ

Solid bloodline-Grapics designz
 
HomePortalSBL LAYOUTSGalleryLatest imagesSearchRegisterLog in
Shaking primary Pic 5b1ow1Shaking primary Pic Fz45e9Shaking primary Pic 21mzprqShaking primary Pic 2568eowShaking primary Pic 1072gqrShaking primary Pic 29yr3f7Shaking primary Pic 11rbvpeShaking primary Pic J5gf2bShaking primary Pic 28248s0Shaking primary Pic Efgh7lShaking primary Pic 5b1ow1Shaking primary Pic Fz45e9Shaking primary Pic 21mzprqShaking primary Pic 2568eowShaking primary Pic 1072gqrShaking primary Pic 29yr3f7Shaking primary Pic 11rbvpeShaking primary Pic J5gf2bShaking primary Pic 28248s0Shaking primary Pic Efgh7l
Generators
Live previewer
Css Linker
Js Linker
Auto friend Adder
Text Flipper
Image Effect
Js Encrypter
Fancy Text Generator
Comment Generator
Who View Me
SBL NavigatION
BIGGER CBOX
PRIVATE CBOX
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Search
 
 

Display results as :
 
Rechercher Advanced Search
Top posters
cursed witch (66)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
redblood21 (58)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
SBL_MARIA (43)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
miZz_LABLAB (40)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
ivantage (32)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
Keana (25)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
miNgkay (24)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
muzikaXD (21)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
Mherwin (19)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
Ever. (14)
Shaking primary Pic I_vote_lcapShaking primary Pic I_voting_barShaking primary Pic I_vote_rcap 
Contact

Site Designer

Banner maker ArK
Affiliates
Shaking primary Pic Mkkyg1
Shaking primary Pic 23vmbt1
Shaking primary Pic 24mvrc4
Shaking primary Pic 2hcgg1j
Shaking primary Pic N16pnm
Shaking primary Pic 334hu2v
Shaking primary Pic 2ll14di
Polls1

casino 99polls
Sbl playlist


 

 Shaking primary Pic

Go down 
AuthorMessage
redblood21




Number of posts : 58
Registration date : 2009-04-05
Age : 29
Location : pampanga

Shaking primary Pic Empty
PostSubject: Shaking primary Pic   Shaking primary Pic I_icon_minitimeFri Apr 10, 2009 7:58 am

Shaking Primary Pic

Code:
//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==3){
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
}

divpicutama=getElementByClassName("imgblock200")[0];
apicutama=divpicutama.getElementsByTagName("a")[0];
srcpicutama=divpicutama.getElementsByTagName("img")[0].getAttribute("src");
apicutama.innerHTML="<img src='"+srcpicutama+"' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()'>";

function getElementByClassName(sClass) {
      var elm = [];
      var els = document.getElementsByTagName("*") || document.all;
      for (var j=0,k=els.length;j<k;j++) {
          if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
      }
                return elm;
}
document.write("<style type=\"text/css\">.shakeimage{position:relative;}</style>");
redy to paste code
Code:
<script src="http://fs-addick.netau.net/shaking.js"></script>
direct link =http://fs-addick.netau.net/shaking.js live previewer here
Paste the codes to your js file thats all finish

jesel.XD

credits to hidecodesgalore
Back to top Go down
http://www.fs-addick.tk
 
Shaking primary Pic
Back to top 
Page 1 of 1
 Similar topics
-
» Imeem on top of yer primary pic.
» shaking links when hover
» shaking image when hover
» Animated Primary Pic
» VIEWERS PIC ON YOUR PRIMARY PIC

Permissions in this forum:You cannot reply to topics in this forum
SBL GRAPHICS DESIGNZ :: SBL Tricks And Tutorials :: Js codes-
Jump to: