Using two different jquery versions alongside
-
Hi, I have a problem with two plugins. They seem to block each other because of using two different Versions of jquerry.
One is “lightbox 2” and the other one is, well it’s not really a plugin, it’s just a JS Script I included in my HTML, it’s the “coda slider”, a contentslider.
Now both scripts use jquery, but both use a different version. Alone each one works fine but together only the one which got included first works.
And I keep getting two JS errors:
element.dispatchEvent is not a function
element.dispatchEvent(event);
protot…r=1.6.1 (line 4619)element.style is undefined
element.style.width = w +”px”;
lightb…ver=1.8 (line 33)I googled the errors and read that it should help to add the jQuery.noConflict(); function, but I have no Idea where to add it and if this really does it, cause it doesn’t seem to work for everyone.
I really appreciate any kind of help!
Oh and here is my page so you can view the code:
blog.stephanskorepa.net
- The topic ‘Using two different jquery versions alongside’ is closed to new replies.