Jquery Coda Slider 在 Chrome 中无法工作,但在 Firefox 和 IE 中工作得很好
我在一个页面上使用了两个 Coda 2 Sliders,它在 Firefox 和 IE 7、8、9 上都运行良好。但我无法弄清楚为什么其中一个滑块在 Chrome 中不起作用,而另一个滑块却可以工作。
您可以检查自己的实时网站 http://www.rafimmedia.com/siddiq/。由于我没有在里面使用任何php,你可以很好地检查源代码和css。
我什至交叉检查了语法和所有内容,但无法找出任何问题。尝试使用firebug,甚至js也没有显示任何错误。
I have used two Coda 2 Sliders at a single page and its working Fine with both the Firefox and IE 7,8,9. But i am not able to figure out why one of the slider is not working in Chrome while the other works
You can check yourself the live site at http://www.rafimmedia.com/siddiq/. As i have not used any php inside you can very well check the source code and css.
I even cross checked the syntax and everything and not able to figure out any problem. Tried to use firebug and even js has not shown any error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您需要添加 rel 属性链接来启动第二组滑块。转到此页面: http://www.ndoherty.biz/demos/coda -slider/2.0/#3 并查看示例#3。
您的第一组链接和第二组链接应分别包含 rel="coda-slider-1" 和 rel="coda-slider-2"。
另外,您需要确保链接具有值为“xtrig”的类属性,以指示它们是交叉链接(再次检查上面的示例)。
You need to add rel attribute the links for initiating the second set of sliders. Go to this page: http://www.ndoherty.biz/demos/coda-slider/2.0/#3 and check out the Example #3.
Your first set of links and second set of links should include the rel="coda-slider-1" and rel="coda-slider-2" respectively.
Also, you need to make sure the links has a class attribute with the value "xtrig" to indicate they're cross links (again check the Example above).
试试这个
try this