> On 13 Sep 2011, at 16:32, Pablo Aravena wrote:
> 
>> I think your problem is because you are using mouseover/mouseout
>> instead of mouseenter/mouseleave

And on 13 Sep 2011, at 16:52, I wrote:

> I told you I was rusty! That's exactly right - it now works beautifully. Well 
> almost - it's still possible to mess it up by whipping the mouse repeatedly 
> in and out or across a corner a few times. I'm not sure whether to take the 
> attitude that it serves the user right if they're going to behave like that!

Since then, I've solved this problem too, so it all works like a charm now. It 
turned out that some code I'd put in to compensate for an earlier problem was 
causing this one (and another one!). Once I took that code out it was all fixed 
at a stroke.

However, one issue remains. It's minor and by no means a deal-breaker, but it 
would be nice to get it right if I can:

To remind you, what I'm doing here is cross-fading two divs that have a variety 
of images, text and links inside them.  While the one that's faded out is 
invisible its contents are replaced via Ajax before the next crossfade. A 
mouseenter on the enclosing div pauses the fading, which resumes after a 
mouseleave. This works well. However, the mouseenter/-leave behaviour in the 
whole enclosing div is masking another behaviour I'd like to implement on 
certain smaller divs inside it. Is there any way of catching mouseenter/-leave 
or indeed mouseover/-out on the inner divs while continuing to catch them on 
the enclosing div? Probably to do with bubbling or something where, as I said 
before, I get a bit out of my depth.

-- 
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>

-- 
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.

Reply via email to