Nov 26, 2010, 12:09 PM
[1.0] Same CSS mask class for loading indication and modal windows
Hallo,
I found out that the same CSS class for the mask is used for the loading and the modal mask when showing windows modally.
How can I use different behaviors for these two different things?
The reason why I need two different classes is that I use a white background (pages are also white) for the loading mask, so that it doesn't flash the updated parts (from 50% opaque gray --> white); just showing the loading indicator.
However for a modal window that is displayed, the mask should indicate that it's modal and the only active usable control on the web page. this is where the default opaqued gray is ok.
So, how to use two different masks?
I found out that the same CSS class for the mask is used for the loading and the modal mask when showing windows modally.
How can I use different behaviors for these two different things?
The reason why I need two different classes is that I use a white background (pages are also white) for the loading mask, so that it doesn't flash the updated parts (from 50% opaque gray --> white); just showing the loading indicator.
However for a modal window that is displayed, the mask should indicate that it's modal and the only active usable control on the web page. this is where the default opaqued gray is ok.
So, how to use two different masks?