Hi Johan, Thanks for the reply. The page is very simple. Just a div with an img in it. The mouse does not move once inside, meaning I can move the mouse over the img and let it go. The animation ramps up to full opacity, and then pops back to 0.4.
There isn't some secret switch I am not setting is there? Or is there some issue with starting from a non-zero opacity when fading in? I have seen this work exactly as I want it on other sites, but the code they are using looks, for all intents and purposes, identical to mine. I don't get it... On Sep 20, 12:10 am, Johan Arensman <johanm...@gmail.com> wrote: > It could be that when you mouseover your element you move over another > element and then back to the element you're fading. If that's the case the > animation could reset itself. > > Maybe you can try fading the parent of the element? > > On Sat, Sep 18, 2010 at 10:26 PM, Raconteur <mythosracont...@gmail.com>wrote: > > > Hi all, > > > I am trying to use Effect.Opacity (or Effect.Fade or Effect.Appear) to > > fade images in from 0.4 opacity to 1.0 on mouseover. > > > The problem is as soon as the animation stops, the image jumps from > > 1.0 back to 0.4 whether the mouse has moved or not. > > > Am I missing something here? The 0.4 is set in a CSS file, > > onmouseover invokes a simple function to create a new instance of > > Appear or Fade, and all I am setting for options is from:0.4 to:1.0 > > and duration0.5. > > > Thanks for any insights! > > > Chris > > > -- > > 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-scriptacul...@googlegroups.com. > > To unsubscribe from this group, send email to > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/prototype-scriptaculous?hl=en. -- 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-scriptacul...@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.