I have slideshow plugin installed on a site. It works on every page apart from one and I can't figure out why.
The slider is down the page a bit under the heading Screenshots.
Here is an example of a working page
Here is an example of the page that is not working.
Chrome inspector says it:
Uncaught TypeError: Object [object Object] has no method 'lightBox'
Anybody have a few minutes to have a look?
In the page that doesn't work you are including jQuery twice.
Once in line 4
and once in line 94:
Remove the second version and this will solve your problem.
BTW, the reason you are seeing the error you posted is that this:
So, within this file, you first load jQuery, then you load the lightbox plugin which adds the lightbox method to the $ function.
Then you load the second version of jQuery, which replaces the $ function - and the lightbox method with it.
Pullo, thanks a million mate! Solved it perfectly.
This topic is now closed. New replies are no longer allowed.