What is required for UI Accordion?
Hello,
I'm having trouble with two aspects of UI Accordian (1.5) - the
display and easing.
I've built my own UI file which contains the core, the Tab and
Accordian widgets, and the effects core.
When I add that file into my application which had previously been
working fine with jQuery UI Accordion 1.6 plus the jQuery Easing
v1.1.1 plugin, my accordian no longer works.
With the jQuery Easing v1.1.1 plugin removed, I receive a cascade of
error messages in Firebug of:
D.easing[this.options.easing || (D.easing.swing ? "swing" : "linear")]
is not a function
If I leave the plugin in (or leave it out AND remove the "animated:
'easeslide'" line in the code below), the accordian opens, but doesn't
"push" the next category heading down in order to display its content
- it just displays its content over the top of everything on the page
below it.
My code is:
$('#thelinks').accordion({
header: '.category',
active: false,
alwaysOpen: false,
animated: 'easeslide',
autoheight: false
});
While a pragmatic approach is to retain the Easing plugin and just
focus on the main display problem I'm having, I'm confused about the
apparent need to continue using the jQuery Easing plugin when the
description of the UI Effects core states that it extends "... the
internal jQuery effects, includes morphing, easing ...". Is this
"easing" different to the easing supplied by Easing v1.1.1?
Direction towards a solution would be much appreciated.
Thanks,
Tom