模态窗口 – 如何覆盖所有屏幕?

Simple Modal Window 
this should be under modal
Testing of Modal Window | Close it

this also

现场: http : //jsfiddle.net/ruwmh/

如何在所有屏幕上显示模态屏幕? 现在这不是o

你应该改变这样的CSS

 #mask { position:absolute; z-index:9000; /*add left and top to position to upper left */ left:0; top:0; background-color:#000; display:none; } 

在这里摆弄http://jsfiddle.net/ruwmh/1/