I have an accordion set up which was working fine across all browsers
until I added autoHeight:false, now I get an "Invalid Argument" error
in IE6 and IE7 and the accordion will not work (in IE), all still
works fine in other browsers.
Here is the script on the page:
$(document).ready(function() {
$('.accordion').accordion({
header: 'h3',
active:
false,
autoHeight: false,
collapsible: true
});
// Show one of the accordion blocks.
if (location.hash.toLowerCase().length > 1) {
$('.accordion').accordion('activate', 'h3#' +
location.hash.toLowerCase());
} else {
$('.accordion').accordion('activate', 'h3:first');
}
});
I'm using jqueryui.js 1.6 and jquery.js v1.3.1
Any help would be appreciated!