Was trying to add some jQueryUI code to my site and can't get it to actually use the effect I want. Instead I see a bunch of errors in firefox saying

Error: jQuery.easing[this.options.easing || (jQuery.easing.swing ? "swing" : "linear")] is not a function
Source File: modules/jquery_update/replace/jquery.min.js
Line: 32

This is the code that triggers the error:

$(document).ready(function() {
  function runEffect(){
    var options = { mode: "hide", direction: "right" };
    //run the effect
    $("#map_side_list").toggle("fold",options,5000);
  };
  $("#map_toggle").click(function() {
    runEffect();
    return false;
  });
});

Only thing I could find searching around is vague references to a jquery plugin called Easing, but I can't find anything about adding it to drupal, or if that's even the solution.

Comments

Simplifying the code a little I came up with the following:

$(document).ready(function() {
var options = {};
$("#map_toggle").click(function() {
$("#map_side_list").toggle("fold",options,5000);
return false;
});
});

This code still doesn't work, but it's cleaner than the first post and maybe easier to read.

I found that replacing the toggle line with

$("#map_side_list").slideToggle('slow');

this actually functions the way I intended.

Although this solves the issue for now, I'm curious to know why the examples on the jqueryUI page (where I got this snippet) don't work.
It seems that only the jquery effects are working, and none of the jqueryUI effects

Status:Active» Postponed (maintainer needs more info)

What version of jQuery UI are you trying to install? Is it compatible with jQuery 1.2.6 or does it require 1.3.x?

Status:Postponed (maintainer needs more info)» Closed (fixed)

Closing due to lack of activity.

Version:6.x-1.1» 6.x-2.0-alpha1

Same error using 6.x-2.0-alpha1 and hierarchical select 3.3

Status:Closed (fixed)» Active

@FiNeX is hierarchical select 3.3 compatible with jQuery 1.3.2? If not, there need to be an issue filed with that module or it is incompatible with jQuery Update 2.x.

Status:Active» Closed (fixed)

I'm sorry, I've wrongly installed jquery.ui module. I've set this bug back to "closed". Sorry again.