var MAX_Z_INDEX=100;    //记录页面中的最大zindex值

$("#xx").show().css({position:'absolute',top:0,left:0,zIndex:++MAX_Z_INDEX});

 

#mask{
    position:absolute;
    top:0;
    left:0;
    width:800px;
    height:600px;
    background:#000;
    filter:alpha(opacity=75);
    -ms-filter:"alpha(opacity=75)";
    opacity:.75;
    z-index:99;
}
<div ></div>

$("#mask").show();

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-15
  • 2022-12-23
  • 2021-04-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-06
相关资源
相似解决方案