Hmmm, no luck so far using the target condition but I found a
workaround using hover instead of mouseout:
$('div.a').hover(function() {},function() {
$(this).children('span.b').hide();
});
On Jun 13, 6:20 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> (untested) You need to do:
>
>
Thanks for the help...I appreciate it.
On Jun 13, 6:20 pm, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote:
> (untested) You need to do:
>
> $('div.a').mouseout(function(e) {
> if (e.target == this) {
> $(this).children('span.b').hide();
> }
>
> });
>
> Cheers,
> -js
>
> On 6/13/07, ws
(untested) You need to do:
$('div.a').mouseout(function(e) {
if (e.target == this) {
$(this).children('span.b').hide();
}
});
Cheers,
-js
On 6/13/07, wswilson <[EMAIL PROTECTED]> wrote:
Here is my code:
$(function() {
$('div.a span.b').hide();
$('div.a h1').
It's something of a "feature" of the mouseout event. More details here:
http://www.quirksmode.org/js/events_mouse.html#link8
Karl Rudd
On 6/14/07, wswilson <[EMAIL PROTECTED]> wrote:
Here is my code:
$(function() {
$('div.a span.b').hide();
$('div.a h1').mouseover(fu
4 matches
Mail list logo