Hello! I'm kind of new to scriptaculous (still learning how to pronounce it;)) I don't know how to achieve loop efect on a Effect.move action. It can be seen on : www.apaw.pl
I used Effect.move to move transaprent picture from right to left side of the bigger picture. It works great. Now what I want to do is to loop this action. So when picture achieves left side, I want it to begin moving from right side again. How to do it? Moving div with the transparent picture is placed in a div with bigger picture like this: <div id="foto1" onmouseover="showHideDiv('foto1- ov','foto1');document.getElementById('aranzacja').style.display='none';"> <a href="/projekty-i-aranzacje-wnetrz/13/hotel-z-restauracja"><img src="/img/aranzacje-wnetrz1.jpg" alt="" title="Hotel i restauracja" / ></a> <div id="aranzacja" style="top:-312px;left:0px;width:446px;height: 310px;text-align:right;"><img src="/img/aranzacja.png" alt="" /></div> </div> And I call the move action when the page is loaded: <script type="text/javascript"> window.onload = function() { movePhoto(); } function movePhoto() { new Effect.Move('aranzacja', {x:-209,y:0,duration:4}) } </script> Where should I place the afterFinish function, with what parameters? I would be very greatful for help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---