How about putting the scrollto in a queue, and checking that the scrollto
queue is empty before doing the mouseover effect?
I assume the mouseover effect is javascript? If it is css, you could add a
class to the body while the scrolling is running (or somewhere else high in
the tree) and have rules like:
body.no-hovers a:hover whatever
{
display:none;
}
One of those should do it,
Jim
--
Jim
blog: http://jimhigson.blogspot.com/
web: http://wikizzle.org
On Friday 13 February 2009 08:09:48 Dave L wrote:
> I am using the ScrollTo() effect to scroll down to an element on the
> page, but there are some links in between that have a mouseover event
> that highlights them and it looks rather odd when they flicker during
> the ScrollTo() transition. Im wondering if anyone has any suggestions
> for avoiding these link highlights.
>
> I have considered adding a :beforeStart event to the ScrollTo effect
> and changing the mouseover event for all the elements, but Im not sure
> that this is possible. I have also considered placing some sort of
> invisible div over the links and showing it during the transition, but
> again, Im not sure how to trigger this only during the ScrollTo
> effect.
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---