TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!

TechMates

Life is Useless without TechMates
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share
 

 Window Shake (js)

Go down 
AuthorMessage
RyceLL
Moderator
RyceLL

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

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

_________________
Window Shake (js) RyceLL-10
Back to top Go down
View user profile http://www.rycell.manilahost.net
JorgyRom
Admin
Admin
JorgyRom

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

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

^ thanks for this

_________________
"Life is Useless Without Techmates"

http://profiles.friendster.com/111675865

How to make JS(javascript) File?
Click here

How to make CSS(cascading style sheets file)?
Click here
Back to top Go down
View user profile
 
Window Shake (js)
Back to top 
Page 1 of 1
 Similar topics
-
» GN rear window mod
» Can I make the window a custom size?
» How to make a HUD?
» wood-slats from window blinds...
» COLLECTA 2018 - Catalogue Shake-up & new categories (some news)

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