两个div滚动条同步简单实现

横向滚动条同步:this <div id="div1" style="width:500px; overflow:scroll;"  onscroll="document.getElementById('div2').scrollLeft = this.scrollLeft;">spa <div style="width:800px; height:50px;"></div>get </div>同
相关文章
相关标签/搜索