I am a php developer and relatively new to javascript. But I am doing both front and backend for a project and having an issue with a jquery slider which, when inserted, is breaking 2 other js scripts in the page, including my main menu.
Can anyone point me to a resource that outlines best practices for working with more than one js library and/or raw js ... ???
I'm doing some tests on the order of the scripts right now, but wanted to put a feeler out there to see if someone has dealt with this before.
common problem when dealing with more than one framework, see this documentation - http://api.jquery.com/jQuery.noConflict/ . This should point you in thee right direction perhaps
I figured it out. It was a CSS issue with the style attached to the script, never to do with the script itself. As is often the case, the solution was to not overthink it.
Bookmarks