PDA

View Full Version : Modal Window Settings



alex1001
9 Apr 2010, 9:25 AM
Hi,

How can I set the opacity of the background when I display a window that is used as a modal window?

I want to set the opacity leve/colour of the background - is it possible ?

Thanks,

Alex

GoneIn20Seconds
9 Apr 2010, 9:32 AM
It's possible if you overwrite the extjs default CSS. I believe the modal mask is under the class name: ext-el-mask

By default it's CSS is set to:


.ext-el-mask {
height:100%;
left:0;
opacity:0.5;
position:absolute;
top:0;
width:100%;
z-index:100;
}
Just write your own css to overwrite that mask.