I am building a website for a customer and the site is using two versions of jQuery. One version is for the “Lava Lamp” navigation effect for the top site navigation links. The other version is for the “Smooth Div” image slider. I can only get one or the other to work, never both simultaneously even when I plugged in the ‘noConflict’ script. I have since removed the noConflict script and re-uploaded it to the server.
Here is the site: http://www.webexplosive.com/spokes
When you declare:
It removes the
$alias for jQuery. So you can’t write :The initial
$is undefined.Needs to be:
OR ( if want to use
$insidedocument.ready):The API docs have good instructions and examples
http://api.jquery.com/jQuery.noConflict/