I manage to resolve the bug by adding :
if(!n) n=0;

just before this : j.toShow[0].style[m.prop]=n+"px";

But I have still problems with IE6 & IE7 :
After some clicks (5 to 10), the accordion stop to works and became
fixed...


On Feb 21, 7:01 pm, karen <[email protected]> wrote:
> I have anaccordionset up which was working fine across all browsers
> until I added autoHeight:false, now I get an "InvalidArgument" error
> in IE6 and IE7 and theaccordionwill 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 theaccordionblocks.
>                 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!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to