var back=document.createElement("div");
back.id="back";
// var styleStr="top:0px;left:0px;position:absolute;background:#666;width:"+bWidth+"px;height:"+bHeight+"px;";
var styleStr="top:"+top+"px;left:0px;position:absolute;background:#666;width:"+bWidth+"px;height:"+bHeight+"px;";
styleStr+=(isIe)?"filter:alpha(opacity=0);":"opacity:0;";
back.style.cssText=styleStr;
parent.frames("mainFrame").document.body.appendChild(back);js 在执行parent.frames("mainFrame").document.body.appendChild(back)中报参数无效
我通过alert可以知道parent.frames("mainFrame").document.body和back都是对象
而且我通过parent.frames("mainFrame").document.body.insertBefore(back,parent.frames("mainFrame").document.body.firstChild);
这样的方式也报参数无效