【发布时间】:2017-06-24 22:28:33
【问题描述】:
我有一个代码:
document.getElementById("slider").scroll(100,0);
在 FF 上工作,但没有 Chrome。我不知道为什么。我正在搜索谷歌以查找问题。只有我发现是使用 jQuery 解决的问题。当然使用这个库的一个功能是......愚蠢。
那么,是否有可能以不同的方式解决或替换为另一个函数?
CSS 类:
.
overflow_slider{
height:200px;
background-color:silver;
margin-top:25px;
overflow: hidden;
position:relative;
width:80%;
margin:auto;
}
【问题讨论】: