the value that you use for xCo run the the same function again using -xCo
I use the following moveRight : function(mvePan,xCo){ menuFrag.scrollCnt = menuFrag.scrollCnt + 1; new Effect.Move(mvePan, {duration: .5, x: xCo, y: 0, mode: 'relative', transition: Effect.Transitions.sinoidal },{queue:'front'}); }, moveLeft : function(mvePan,xCo){ xCo = xCo*-1; menuFrag.scrollCnt = menuFrag.scrollCnt - 1; new Effect.Move(mvePan, {duration: .5, x: xCo, y: 0, mode: 'relative', transition: Effect.Transitions.sinoidal },{afterFinish:myCallBack}); } }, 2009/2/18 Jim Higson <j...@wikizzle.org> > > Hi, > > There are Sinusoidal transitions and Reverse (linear) transitions - is > there a > way to get a reverse Sinusoidal? > > Thanks, > Jim > > -- > Jim > my wiki ajaxification thing: http://wikizzle.org > my blog: http://jimhigson.blogspot.com/ > > > > --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---