The .hover() method is what you are thinking about. Try it instead of
just binding a mouseout to the p.

--
Brandon Aaron

On 1/29/07, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
> I have html like this
> <p>
>    <a>
>    <a>
> </p>
>
> that is, a paragraph with some links in it. I bind a mouseout on the
> paragraph, then bind mouseover and on the links.
> Now as I move my mouse over the different links, the p.onmouseout
> gets triggered all the time, even though the links are nested inside
> it, I thought that wasn't suppose to happen, or is it just the .hover
> that behaves differently?
> What I would like is the p.onmouseout to only trigger once I leave
> the paragraph, not for every link I leave.
> Now I seem to remember this as normal JavaScript behaviour, but I
> thought I read somewhere that this had been coded around in jQuery?
>
> andreas
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to