It works in FF the first time. Did you close it and try it a second time? That's when it breaks for me. ml
On Nov 5, 5:05 am, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > Mark, > > > > >I have been doing some dynamic things with accordion and have found > >some areas that don't work. After some rather extensive debugging it > >appears > >that the problem lies in jQuery. > > >I'm doing some very dynamics things with the content that lives in the > >accordion. The problems I've found seem to stem from accordion > >getting out of sync with the changes that are made to the data after > >accordion is called and setup. I haven't unraveled why the problems > >are happening yet but it appears that jQuery is cacheing hide/show > >values. > > >I have provided a sample page that demonstrates one of the problems I > >have found with accordion and my tecniques. > > >Example of broken accordion: > > >Works 1st time and then broken until refresh of page. > >http://dataprism.net/dpui/test2.html > > >Click on "Open Inspector" to open the inspector pane and use the > >accordion, it works great. > > >Click on "Close Inspector" to close the inspector pane. > > >Now click on "Open Inspector" and the accordion is broken. Page > >refresh fixes it. > > >When I open the inspector I dynamically build the html that will be > >accordioned and call accordion. > > I tested the page in both FF and IE6 and it worked, however in IE6 it does > take like 5 seconds for it to open a 2nd time. > > I think the problem may lie in the load() method. I'd remove the AJAX call > and see how the code works without the AJAX call. Just open/close the dummy > container. > > However, like I said the code worked fine in FF and there was just a long > lag in IE6. > > -Dan