Javascript : Shaking Pop-up

17 Mar

<script LANGUAGE=”JavaScript”>

function init ()
{
setTimeout(“shake(3)”,1000);
setTimeout(“shake(3)”,4100);
}

function shake (n)
{
if (self.moveBy)
{
for (i = 10; i > 0; i–)
{
for (j = n; j > 0; j–)
{
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
setTimeout(“shake(5)”, 5000);
}

</script>

Advertisements

One Response to “Javascript : Shaking Pop-up”

  1. kaye September 20, 2008 at 4:22 pm #

    gumagana ba ito?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: