Thank you Robert. I knew there had to be a way:)
Pat
-----Original Message-----
From: Robert Nyman [mailto:robert.nyman@c...]
Sent: 05 December 2002 10:46
To: javascript
Subject: [javascript] SV: Running animations consecutively
Well, just set a variable, or call it afterwards the first one has
ended.
For example:
function animationOne(){
if(shuld_still_animate){
// Do the animation thing
setTimeout("animationOne()", 1000);
}
else{
animationTwo();
}
}
/Robert
-----Ursprungligt meddelande-----
Från: Pat Waddington [mailto:paw@s...]
Skickat: den 4 december 2002 22:35
Till: javascript
Ämne: [javascript] Running animations consecutively
I have two animated images which I want to run consecutively - i.e. I
want the first animation to finish before the second one starts.
Is there any way I can do this?
Thanks
------------------------------------------------------------------------
----
------------
System 3 2000 Limited
19 Olivers Drive, Witham. Essex. CM8 1QJ
Tel:01376 501745 Website: www.system3-2000.co.uk