Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: is the JavaScript screen shake still taboo?
From: nadia
Date: Fri, 13 Oct 2000 20:19:09 +0100

hi sharon

i use this script on my site
http://www.naloo.net click on "oups"

if you sit in front of a mac, click twice to get the right sound-effect...
otherwise it works perfect on all browsers and plattform. i call via get url
--> Get URL ("javascript:shake_xy(4)") the number 4 tells how "big" the
shaking is.

bye nadia




<SCRIPT LANGUAGE="JavaScript1.2">
<!--

function navigation_DoFSCommand (command,args) {
if (command == "shake") {
if (self.moveBy) {
for (i = 10; i > 0; i--) {
for (j = args; j > 0; j--) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}

}
function shake_xy(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);
}
}
}
}

//-->


</SCRIPT>




**************************** http://www.naloo.net_________


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: is the JavaScript screen shake st, sharon almeida

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]