<div class="codetitle"> <span><a style="CURSOR: pointer" data="71636" class="copybut" id="copybut71636" onclick="doCopy('code71636')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code71636"> <br>//遮罩层 <br>$j("<div id="shade"></div>").css({ <br>position:'absolute', <br>top:0, <br>left:0, <br>backgroundColor:"#808080", <br>opacity:0.1, <br>zIndex:300 <br><br>}).height($j(document).height()).width($j(document).width()).hide().appendTo("#bgCover"); <br> </div> <br>bgCover为目标元素的id