jQuery MenuCool滑块不起作用 [英] jquery menucool slider not working
问题描述
我不是JavaScript或jQuery专家,并且在使用jQuery滑块时遇到问题.
I am not an expert in javascript or jQuery and facing problem working with jQuery slider.
该滑块在演示站点中运行良好,我已经很好地实现了它,但是由于某种原因它没有起作用.在调试中,我只有一个错误,即参考错误,不知道是什么原因.
The slider is working well in the demo site and i have implemented it well but for some reason its not working. in debug i got only error that is reference error, don't understand what is the reason for this.
我正在使用的滑块: http://www.menucool.com/jquery-slider
我尝试同时使用纯JavaScript版本和jQuery版本.现在,目前已实现jQuery版本.我不知道为什么它不起作用.
I tried using both pure javascript version and jQuery version. now presently jQuery version is implemented. I don't know why its not working.
预先感谢您的帮助.
推荐答案
它非常简单 在 Menucool jQuery Slider v2012.11.22
its very simple in Menucool jQuery Slider v2012.11.22
在jquery-slider.js文件中找到a.replace(/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")
find the a.replace(/(?:.*\.)?(\w)([\w\-])?[^.]*(\w)\.[^.]*$/,"$1$3$2")
in jquery-slider.js file
更改为a.replace("","$1$3$2")
享受
这篇关于jQuery MenuCool滑块不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!