[jQuery] Re: cancel ".hide()"

2008-12-05 Thread Matthias Coy
Hi, thank you. I wasn't aware that setTimeout has a return value. Thanks. Regards Matthias MorningZ schrieb: > "PS: maybe a dumb question but I'm pretty new to jquery" > > Well, the solution doesn't really have anything to do with jQuery > > instead of : > > $(".classoflinks").hover(

[jQuery] Re: cancel ".hide()"

2008-12-05 Thread MorningZ
"PS: maybe a dumb question but I'm pretty new to jquery" Well, the solution doesn't really have anything to do with jQuery instead of : $(".classoflinks").hover(function() { $("#myDiv").show(); }, function() { setTimeout(function() { $("#myDiv").hide(); }, 4000); }); this will hold the