Results 1 to 3 of 3
Oct 29, 2012, 23:20 #1
Strange Issue with a slider plugin
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?
Oct 30, 2012, 00:52 #2
- Join Date
- Jun 2007
- 164 Post(s)
- 8 Thread(s)
In the page that doesn't work you are including jQuery twice.
Once in line 4
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.
Oct 31, 2012, 17:09 #3
Pullo, thanks a million mate! Solved it perfectly.