From: Nuno F. <nun...@wi...> - 2001-02-12 11:42:20
|
Hi Guys, need help with something... I have some slide animations to do, but I need to know when the last animation ends so I can load a page into a layer, using loadpanel. Something like this: <a href="javascript:void(null)" onClick="start_anim('pagetoload');">Whatever</a> . . . function start_anim(page_url){ Fillet1.slideTo(null,198) . . Fillet20.slideTo(null,198+19) TextArea.setURL(page_url) } Now, because the animation "opens" up a space in the page for the text to appear, I need to know when ALL the slideTo() end so I can trigger the setURL. I could use a eventlistener for the all the objects that I'm sliding but it seems a very awkward way of doing it. Any suggestions? Thanks, NunoF |