Copy code code as follows:
// mask layer
$ j ("<div ID = 'Shade'> </DIV>"). CSS ({{{
position: 'absolute',
TOP: 0,
left: 0,
backgroundColor: "#808080",
OPACITY: 0.1,
zindex: 300
}). Height ($ j (document) .height ()). width ($ j (docume) .width ()). hide ().
bgcover is the ID of the target element