div中图像滚动的Jquery脚本无法正常工作

时间:2015-05-06 19:34:16

标签: javascript jquery html css

我只是在寻找新手学习网页设计方面的帮助,请理解我在回答问题时仍处于学习的早期阶段。

我有以下内容:

public VFM(VFM vfm) {
    orderTypeId = vfm.orderTypeId;
    fulfillTypeId = vfm.fulfillTypeId;
    orderSeq = vfm.orderSeq;
    lastUpdated = vfm.lastUpdated;
    lastUpdatedBy = vfm.lastUpdatedBy;
    lastItem = vfm.lastItem; 
    action = vfm.action;
}

该插件来自this website

我的问题是,当我将页面上传到服务器并查看它时,我显然做错了,因为实际上在div中滚动的图像不是,所有5个图像都只是连续显示。

1 个答案:

答案 0 :(得分:1)

看起来你错过了这个javascript

<script src="js/jquery.mousewheel.min.js" type="text/javascript"></script>

如此处所述http://smoothdivscroll.com/dependencies.html

smoothDivScroll除非您导入 mousewheel.min.js

,否则无法使用