PDA

View Full Version : Event onModal or onMask ??



casbar
11 Jul 2009, 7:46 AM
Hi,
unfortunately there isn't an "onModal" or "onMask" event for elements... does an alternative exist?

I want to put a mask over an element if in another element a modal window has been opened.

Thanks,
casbar

casbar
11 Jul 2009, 10:37 AM
nobody any idea??

Animal
11 Jul 2009, 11:25 PM
Modal windows add a mask over the whole document. What are you trying to do?

casbar
12 Jul 2009, 12:16 AM
I have 2 big div-elements.
If I open a modal window in the first one, the mask is only existing in the first div, but I want to put a mask also in the second div element when in the first one a modal window has been opened!
I dont know how I could make it.

I hope you know what I mean...

Thanks ,
casbar

Animal
12 Jul 2009, 12:26 AM
So the question is that you want to mask some other, unrelated Element on show of a Window?

casbar
12 Jul 2009, 7:28 AM
yes right!! on show of a modal window!
Any idea?

Animal
12 Jul 2009, 7:48 AM
Well, I dropped a great big hint didn't I?

Use a handler on the show event