Hi there,

What I'd do is insert a div element to the document just below the shown
element, and attach a click event to it, which would hide the element and
remove itself from the DOM (or hide too).

Cheers,
Gabriel Gilini

www.usosim.com.br
[EMAIL PROTECTED]
[EMAIL PROTECTED]


On Sun, Oct 12, 2008 at 8:02 PM, poncjusz <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I'm toggling element (show/hide) by giving specific class name
> (.visible) but how could I make an effect that when I click everywhere
> EXCEPT this toggled element, it disappear?
>
> thanks in advanced
> Tom
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to