js中scrollHeight,scrollWidth,scrollLeft,scrolltop等差别介绍
实现代码如下: js位子表示 function testClick(oDiv){ var oDivId=document.getElementById(oDiv); alert("offsetHeight:"+oDivId.offsetHeight+"\n offsetWidth:"+oD
实现代码如下: js位子表示 function testClick(oDiv){ var oDivId=document.getElementById(oDiv); alert("offsetHeight:"+oDivId.offsetHeight+"\n offsetWidth:"+oD