好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

div块显示和iframe冲突_html/css_WEB-ITnose




window.onload=function(){
var divObj=document.getElementById("rightDiv");
divObj.style.width=parseInt(document.body.offsetWidth)/3;
divObj.style.height=document.body.offsetHeight;
var isOverDiv=false;
document.body.onmousemove=function(e){
var e=e||window.event;
if(parseInt(divObj.style.width)>parseInt(document.body.offsetWidth)-parseInt(e.clientX)){
isOverDiv=true;
divObj.style.display='';
}
if(parseInt(divObj.style.width) divObj.style.display='none';
}
}

}




查看更多关于div块显示和iframe冲突_html/css_WEB-ITnose的详细内容...

  阅读:38次