Hi Donald,

I can't help feeling that if I google "sticky hover" I might not like
what I find but I'll give it a go.

Thanks


On Nov 19, 5:19 pm, "Donald J. Organ IV" <[EMAIL PROTECTED]>
wrote:
> Sounds like you want a sticky hover.
>
>
>
>
>
> ----- Original Message -----
> From: "jonhobbs" <[EMAIL PROTECTED]>
> To: "jQuery (English)" <jquery-en@googlegroups.com>
> Sent: Wednesday, November 19, 2008 12:17:55 PM GMT -05:00 US/Canada Eastern
> Subject: [jQuery] Detecting a click "off" an element
>
> HI,
>
> I'm trying to make a layer popup when you focus on a text box. That't
> the easy bit though and I've managed to do that.
>
> I now want the layer to disappear if the user clicks anywhere on the
> page EXCEPT on the layer, or the textbox they clicked into.
>
> I'm struggling to think of how to do this. I guess I could attach the
> click event to the page body then try to work out the co-ordinates
> that were clicked or something like that, but that seems a bad way to
> do it.
>
> Any help would really be appreciated.
>
> Jon

Reply via email to