天天看點

改變extjs的window在modal下,背景由半透明變為全透明

在ext\resources\css目錄下,編輯ext-all.css檔案,檔案首部:

html,body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}img,body,html{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}ol,ul {list-style:none;}caption,th {text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;}q:before,q:after{content:'';}.ext-el-mask {

    z-index: 100;

    position: absolute;

    top:0;

    left:0;

    -moz-opacity: 0.5;

    <b>opacity: 0;</b>

    filter: alpha(opacity=0);

    width: 100%;

    height: 100%;

    zoom: 1;

}

将原來的值0.50和50改為0,在火狐和IE下就都變成透明的了。

繼續閱讀