frameset嵌套的子页面:
添加遮罩层: $(‘html’, window.parent.document).append(‘<div class=”mtDiv” style=”position: fixed;top: 0%;left: 0%;width: 100%;height: 100%;background-color:gray;z-index:1010;-moz-opacity: 0.8;opacity:.80;filter: alpha(opacity=20);”><iframe width=”100%” height=”100%” frameborder=”0”></iframe></div>’);
移除遮罩层:$(‘html’, window.parent.document).find(“div.mtDiv”).remove();
如果本页面添加: (′html′,window.parent.document)修改为 ( ′ h t m l ′ , w i n d o w . p a r e n t . d o c u m e n t ) 修 改 为 (“body”)
</div>
</div>
</article>