I was just troubleshooting something like this, and can't figure out how to get it to work in ie... If I add an alert to scrollImage(), I see it only in firefox.
http://www.lotzunga.com/ <---- works in Firefox (check out the image thingies) http://www.lotzunga.com/ <---- doesn't work in IE (I hate IE.....) Is there something I'm missing? On Nov 28, 7:01 pm, "Jerod Venema" <[EMAIL PROTECTED]> wrote: > That's not really an "effect", per-se, as much as a simple continuous > motion. It's simple enough to do this without scriptaculous: > > //assumes "myelement" is positioned absolutely > var moveIt = function(){ > var pos = parseInt($('myelement').getStyle("top").gsub(/[^\d]/,"")); > pos = (pos + 1) + "px"; > $('myelement').setStyle({ top: pos});} > > new PeriodicalExecuter(moveIt,0.1); > > That's it :) Voila, nice scolling element. Replace "myelement" with "header" > and you can run that script on the script.aculo.us homepage. > > On Fri, Nov 28, 2008 at 11:43 AM, Fernando Mertins < > > > > [EMAIL PROTECTED]> wrote: > > Hi Everybody, > > > Is it possible to create a "viewport" with moving an image in vertical, > > with Scriptaculous? Something like this: > >http://adamssleep.com.br/newsite/(made with Flash) > > > OBS.: I don't need the curve, only normal rectangle image > > > Another example is the GUCCI website, but in this case the movement it's at > > horizontal and the used Scriptaculous :-) > > > Which effects I must use? > > > Thank you in advance, > > Fernando > > -- > Jerod Venema > Frozen Mountain Softwarehttp://www.frozenmountain.com/ > 919-368-5105 --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
