Lee Jenkins wrote: > > Hi all, > > Assume that I have 2 div's which each contain appropriate content to resemble > desktop forms with caption, min/max/close buttons, etc. and that they are > overlapping on the same z-index. > > If I click on the form that appears behind the first, it should "come to the > front". My idea was to place them all on the same z-index and then use event > listeners to switch them back from say z-index 1 to 2 and then back again. >
I quick test confirms that the form (div) will receive a click event even if a child element was clicked. Thanks, -- Warm Regards, Lee --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---