我在github插件中添加了平滑滚动效果。平滑滚动插件不允许我向下滚动页面
github.com/simov/simplr-smoothscroll
我在呼叫出局添加效果:
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.0.6/jquery.mousewheel.min.js"></script>
<script src="http://simov.github.io/simplr-smoothscroll/lib/jquery.simplr.smoothscroll.js"></script>
然后,我添加了效果验证码:
$(function() { $.srSmoothscroll() });
在我做完这些后,我的页面不再滚动。它只是卷起来。为什么这不能正常工作?
我将此上的网站是这个网页从网站:
http://realtorcatch.com/test_index
,我想它的模型后:
http://www.templatemonster.com/demo/51054.html
在githubs网站,它说,用法是这样的:
$(function() {
$.srSmoothscroll({
// defaults
step: 55,
speed: 400,
ease: 'swing',
target: $('body'),
container: $(window)
})
})
虽然这并没有帮助我的情况。
有没有人有任何想法,为什么这不滚动下来?
仍在寻找解决方案... – BigMan