0
寻找一个简单的滚动权利,没有什么特别的。我的代码:滑动div滚动停止mouseover
<script type="text/javascript">
// Initialize the plugin with no custom options
$(document).ready(function() {
// None of the options are set
$("div#makeMeScrollable").smoothDivScroll({
mousewheelScrolling: false,
hotSpotScrolling: false,
autoScrollingMode: "onstart"
});
});
</script>
当鼠标滑过div的右边缘时,滚动停止。在Chrome和IE中发生,否则似乎工作正常?
哪个插件在这里使用?你能通过我的插件的网址? – 2012-04-11 13:44:32
使用插件和所有相同的脚本等从当前的GitHub下载 – byteman 2012-04-11 15:45:37
想象一下,如果我制作autoScrollingMode:“always”,它可以像你期望的那样工作。 – byteman 2012-04-11 15:48:45