[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Geir
On 5 Aug, 20:16, Tim wrote: > Adapt the code to something like this: > >                 $("#search").hover(function() { //On hover... >                         $("#Google").show(); >                 } , function() { //On hover out... >                         $("#Google").hide(); >              

[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Tim
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, Charli

[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Charlie
what if user shows the box on mouseover but doesn't use it? Geir wrote: Thanks! On Aug 5, 1:12 pm, Charlie 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 y

[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Geir
Thanks! On Aug 5, 1:12 pm, Charlie 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 showing The focus is for if $('#Search').hover is activated and

[jQuery] Re: Pop-up, hover or focus -problem

2009-08-05 Thread Charlie
hover requires 2 functions hover(over,out) take the * if* out logic not making sense on the focus part. If you can focus on element it's already showing Geir wrote: Hi! I'm making a pop-up Google search-box for my site. However it's something wrong with my jQuery-code. Can you help me?