|
Author |
Message |
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Shaking primary pic Sun Oct 26, 2008 6:23 pm |
|
|
credits: dynamic drive;nopathz Description: When someone visits you profile and hovered your primay pic..it will shake like an earthquake so hope you will enjoy this script guys... preview:LH please hover my primary pic to see the effect of the trickjs code: - 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; }
Css code: - Code:
-
.shakeimage{ position:relative; }
remember: js code must be in main js file css code must be in css main file Please follow my intruction.Enjoy guys!
|
|
|
|
iSheenaDrew<33
Global Mod
> : Too tired of drama and shit!
Posts : 5748
Age : 101
Location : on your mind? lol
Mood : Disappointed
Country :
Reg-Date : 2008-09-04
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:25 pm |
|
|
FRIGGIN AWESOME! hahaha. great job kuyaa heinz.XD btw, would yuu mind to gimme the link for the tricster again? i already forgot the link. XD LMAO. ciao.
|
|
|
|
JirO™
Global Mod
> : >:)
Posts : 2580
Age : 31
Location : There :O
Mood : Blissful
Country :
Reg-Date : 2008-09-05
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:27 pm |
|
|
I love it sir LH hahaha xD..
|
|
|
|
rexon
Promoter
> : thx my bunny~~~
Posts : 1573
Age : 100
Location : soul society
Country :
Reg-Date : 2008-09-17
Forum Warning :
Contribution :
|
|
|
|
Ryanpot
HCG Addict
> : Sagin lng ang may ♥
Posts : 292
Age : 34
Location : Jan lng nman..ü
Mood : Bittersweet
Country :
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:31 pm |
|
|
whoa! nice! hahaha cool! ten tenenen ne nen!
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:37 pm |
|
|
im so glad you like the trick guys! cheers!
|
|
|
|
andrealism.is.vandalism
Guest
> : I love HCG!
Posts : 3
Age : 37
Location : manila
Mood : Happy
Country :
Reg-Date : 2008-10-26
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:42 pm |
|
|
nice trick you have there.:)) thumbs up!:D
|
|
|
|
Ryanpot
HCG Addict
> : Sagin lng ang may ♥
Posts : 292
Age : 34
Location : Jan lng nman..ü
Mood : Bittersweet
Country :
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:43 pm |
|
|
sir! how about for all the images when hovered? hehehe.
|
|
|
|
batangfriendster12
Promoter
> : Woa...Im a PROMOTER.. xD
Posts : 607
Age : 27
Location : Pasig City
Mood : Bored
Country :
Reg-Date : 2008-10-03
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:45 pm |
|
|
is it working with the elastic primary pic if pinaghalo ko? ask lang??
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:46 pm |
|
|
^ those are additional codes buddy^^ you have to make the primary work first..then il add those codes.. shaking friends pic.. shaking grooups pic.. shaking fans of pic... photo gallery.. and even your comments pic... how about that?^^ @ batang friendster12 no it will not work..you should only have one trick..^^ please post in english..
|
|
|
|
Ryanpot
HCG Addict
> : Sagin lng ang may ♥
Posts : 292
Age : 34
Location : Jan lng nman..ü
Mood : Bittersweet
Country :
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 6:48 pm |
|
|
yup! it's working sir! thanks! i like that hehe cool!
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
|
|
|
Ryanpot
HCG Addict
> : Sagin lng ang may ♥
Posts : 292
Age : 34
Location : Jan lng nman..ü
Mood : Bittersweet
Country :
Reg-Date : 2008-09-08
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 7:00 pm |
|
|
i'll wait for the other additional codes hahaha.. thanks sir! thumbs up!!
|
|
|
|
nightmarelove_03
Guest
> : NOT ACTIVE. :)
Posts : 5
Age : 29
Location : Philippines
Mood : Alone
Reg-Date : 2008-10-26
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Sun Oct 26, 2008 11:50 pm |
|
|
san q ito ilalagay?? ayaw sa mga boxes ng fs ko//
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
|
|
|
ella_gumamela06
HCG Freak
> : I love HCG!
Posts : 119
Age : 28
Location : beside Ü..
Reg-Date : 2008-10-11
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Mon Oct 27, 2008 10:29 am |
|
|
|
|
|
|
laragaile
Guest
> : I love HCG!
Posts : 6
Reg-Date : 2008-10-27
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Mon Oct 27, 2008 11:27 am |
|
|
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Mon Oct 27, 2008 12:22 pm |
|
|
please do not spam..posting a smilies only and a word is considered spamming..please read our rules here..
|
|
|
|
punk_ii_girl
HCG Geek
> : I love HCG!
Posts : 626
Age : 103
Mood : Happy
Country :
Reg-Date : 2008-09-11
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 12:43 pm |
|
|
sir yer preview is in PRIVATE mode..
|
|
|
|
Heinz™
Global Mod
> : I'm a bee.. can you be my hone
Posts : 1618
Age : 38
Country :
Reg-Date : 2008-09-10
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 12:45 pm |
|
|
- punk_ii_girl wrote:
- sir yer preview is in PRIVATE mode..
uw ..sorry about that..its in public mode now^^
|
|
|
|
laurenaki17
HCG Wizard
> : I love HCG!
Posts : 78
Age : 29
Location : PHILIPPINES
Mood : Confused
Reg-Date : 2008-10-05
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 3:58 pm |
|
|
amm.. Sir! can I request for ready to paste code... because I dont know how to js thingy...
|
|
|
|
yehsreh
Promoter
> : 큰소리ቯ
Posts : 9679
Age : 84
Location : jupiter
Mood : Excited
Country :
Reg-Date : 2008-10-07
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 4:10 pm |
|
|
|
|
|
|
sawhry kaylie
HCG Master
> : it's getting way too deeeeep.
Posts : 5618
Age : 29
Location : in your mind
Mood : Drunk
Country :
Reg-Date : 2008-10-19
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 4:14 pm |
|
|
|
|
|
|
mistymallow
HCG Maniac
> : i hate immatures :))
Posts : 4053
Age : 29
Location : Conway,Arkansas
Mood : Happy
Country :
Reg-Date : 2008-10-09
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 4:32 pm |
|
|
|
|
|
|
mysterioso_79
HCG Member
> : I love HCG!
Posts : 30
Age : 31
Reg-Date : 2008-09-12
Forum Warning :
Contribution :
|
Subject: Re: Shaking primary pic Tue Oct 28, 2008 5:44 pm |
|
|
iTs cOOl,. ^_^ Luv iT,.
tNx 4 da sHare siR,.
kiP sHaRing,.
|
|
|
|
Sponsored content
|
Subject: Re: Shaking primary pic |
|
|
|
|
|
|
|