TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!
TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!
TechMates
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TechMates

Life is Useless without TechMates
 
HomePortalSearchLatest imagesRegisterLog in

 

 Window Shake (js)

Go down 
2 posters
AuthorMessage
RyceLL
Moderator
RyceLL


Posts : 18
Points : 35
Reputation : 1
Join date : 2009-07-27
Age : 33

Window Shake (js) Empty
PostSubject: Window Shake (js)   Window Shake (js) EmptyTue Jul 28, 2009 11:55 pm

heres The Code

Code:
//////////////**WINDOW SHAKING**////////////////////

function shake(n) {
if (parent.moveBy) {
for (i = 10; i > 0; i--) {
for (j = n; j > 0; j--) {
self.resizeTo(250,150);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);
parent.moveBy(i,0);
parent.moveBy(0,-i);
parent.moveBy(-i,0);
parent.moveBy(0,i);}}}}


Just edit the messege here then Your done

As Always save it as .js

and use the direct link for the application
Back to top Go down
http://www.rycell.manilahost.net
JorgyRom
Admin
Admin
JorgyRom


Posts : 49
Points : 78
Reputation : 3
Join date : 2009-07-26
Age : 31
Location : Manila

Window Shake (js) Empty
PostSubject: Re: Window Shake (js)   Window Shake (js) EmptyFri Jul 31, 2009 1:42 am

^ thanks for this
Back to top Go down
 
Window Shake (js)
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
TechMates :: Friendster Design and Development :: Friendster Tricks and Tutorials :: JavaScript-
Jump to: