Question

I am using Accordion for my website's right menu and it works fine. I want to use Lavalamp for my main menu. When jquery.easing, my accordion does not work but I need it for Lavalamp. Does anyone have any idea how I can fix this conflict !? thanx

Was it helpful?

Solution

I think we need a bit more information... a demo would be ideal, and we could do with knowing exactly what goes wrong, and what error you get. It could be a compatibility issue. Are you using the latest jQueryUI? Which easing function are you using?

As a quick fix, you could try including this file: http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.compatibility.js

but if that doesn't work, we really do need more information to help you fix the problem.

OTHER TIPS

Try to use jquery-ui.min.js instead jquery.easing.js . Or sometimes this problem could result from the order of the scripts, put the easing plugin in the bottom of the page and other scripts in top for example.

Another thing you could look at:

Does your Accordion menu also use jQuery? If so, sometimes the plug-ins will combine the scripts into one. One possibility is that the Accordion menu also has some of the jQuery.easing file pasted into it so it is conflicting. You can look through that script and cut-out the duplicated code.

Also, make sure that the jQuery.easing script line is below your other script files.

The easiest would be to paste a link to the page for us to look at.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top