|
|
1
3
The only problem I can see is an extra comma at the end of the gallery options:
At least Firefox and Chrome ignore the trailing comma, but it's a syntax error in Internet Explorer. After I fixed that, your code worked fine for me in Chrome, Firefox, and IE.
就像评论中提到的Anurag一样,您包含了两次MooTools。它没有给我带来任何问题,但是你可以移除
|
|
|
2
1
In JQuery you can choose a new name for the JQuery function to avoid conflicts with other libraries, e.g. Prototype. Mootools might support something similar. |
|
|
3
1
Alright, it's working now. Here's what's going on: I removed the extra comma as per Matthew Crumley's suggestion (+1). Per Anurag, I checked Chrome's developer tool (I completely forgot about that - working late = bad.) It didn't show any errors. Then I redownloaded the SlimBox files and tried the demo, which didn't work. Then I noticed that SlimBox had two folders with its SlimBox JS files: js and src. js is the correct folder with the correct library, src doesn't work for whatever reason. I changed the website to use the file from the js folder and it's now working. 底线:毕竟没有脚本冲突,Slimbox只是以一种奇怪的方式分发。谢谢大家的帮助! |
|
|
4
0
当我必须在同一页面中使用jQuery的两个版本时,我遇到了同样的问题。
然后你可以用类似的方法来引用你的不同版本的jQuery:
I hope something like this will solve your issue too. |
|
|
Oktawian · Android Studio-从库导入图像 7 年前 |
|
|
Jinsoo Kang · 图像库中的内联块不工作 7 年前 |
|
|
Jane Lo · 获取购物车对象中的可变产品附件库id 8 年前 |
|
|
Mr 537h · 图库页面100%宽度 8 年前 |
|
|
Josh Rodgers · 左对齐库的最后一行 8 年前 |
|
|
FluffleSan · 如何在添加超链接时保持图像缩放 8 年前 |