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
avatar

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

PostSubject: Window Shake (js)   Tue 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
View user profile http://www.rycell.manilahost.net
JorgyRom
Admin
Admin
avatar

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

PostSubject: Re: Window Shake (js)   Fri 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
» Window motor replacement
» Need a driver's side window regulator
» RGSS = Scripting Basics - Window Class
» Can I make the window a custom size?

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