Hey there guys:
I have a conflict between a text slider plugin that uses jquery and the lightbox plugin that uses prototype. Please click on the link below for full details:
Can anyone help?
thanks
Will
Hey there guys:
I have a conflict between a text slider plugin that uses jquery and the lightbox plugin that uses prototype. Please click on the link below for full details:
Can anyone help?
thanks
Will
There’s a simple fix, with jQuery you can set a custom var or use jQuery to stop other scripts from conflicting with it. Simply change all the jQuery $ referees
jQuery().ready()
etc etc…
Also the way you declare your ready state can be shorted to
jQuery(function(){
// Code Here
});
as your not directly declaring any part of the JS to wait till the page is finished loading. You can read about jQuery.noConflict more here http://api.jquery.com/jQuery.noConflict/