Adapt the code to something like this: $("#search").hover(function() { //On hover... $("#Google").show(); } , function() { //On hover out... $("#Google").hide(); });
Tim :o] On Aug 5, 6:53 am, Charlie <charlie...@gmail.com> wrote: > what if user shows the box on mouseover but doesn't use it? > Geir wrote:Thanks! On Aug 5, 1:12 pm, > Charlie<charlie...@gmail.com>wrote:hover requires 2 functions > hover(over,out)Ok, so can I use mouseOver instead?take the * if* out logic > not making sense on the focus part. If you can focus on element it's already > showingThe focus is for if $('#Search').hover is activated and the #Google- > div is focused. If then the user moves his/her mouse from #Search/ #Google, I > want the #Google to show until #Google.blur (user clicks something outside > #Google).