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.

Assuming that is the way to go, my real question concerns catching the right 
events without using unnecessary observers.  Since each div that represents a 
form will have constituent elements like INPUT's, SELECT's, etc, I need to 
translate a click on one of these as a notification that the "form" ( the div) 
it's contained within is also clicked on and should be brought to the forefront 
if it is not already.

Switching each form's z-index in a synchronized ways seems trivial enough, but 
I 
am uncertain of the best path to take to bubble the events up the "form" div or 
associate it with the "form" div.

Thanks for any suggestions,

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

Reply via email to