Hello,

I am modifying this: http://cpicker.com/

I have made good progress, everything is working great. I now need to
make one last modification.

I think I need to do something like this but I am new to prototype and
don't really get it.

$(document.body).descendants().observe('click', function() {
        if ($('stroke_color').getStyle('display') == 'block') {
                if ({not a decendant of stroke_color}) {
                     $('stroke_color').hide();
                }
        }
});

Can anyone help please?

Thanks.

-- 
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