I think, that this is not related to jQuery. The problem is how different browsers interpret th. Not tested, but this should work in IE, but not in FF - right? There is another problem which is opposite to those Try to make this on tbody - i.e toggle the th and look the result in IE and FF.
Solution for this problem is to resize only the first row in the tbody according to the width of the th Regards Tony On May 22, 1:01 pm, Cloudream <[EMAIL PROTECTED]> wrote: > I've update the code, > tryhttp://labs.cloudream.name/jquery/tbody-slidetoggle.html > > It seems the enchant doesn't work at all. :-( > > On May 22, 12:02 am, Brian Schilt <[EMAIL PROTECTED]> wrote: > > > I've had these similar problems with trying to animate table rows and > > cells. this problem is related to animations that adjust the width of > > the TR and TD elements. I've found that if I use animations that do > > not adjust the width, it acts fine. I would recommend you check out > > jQuery Enchant library and use the .toggle('slide',{ direction: > > 'up' }) method. I think this will give you the desired results and it > > won't adjust the cell widths. I have not tested it so I don't know if > > it will actually work, but its someplace to start. > > > I don't think there is a common download area for Enchant, just Google > > it and you'll find a bunch of places to download it. Let us know how > > it plays out. > > > Good luck > > > Brian > > > On May 21, 6:34 am, Cloudream <[EMAIL PROTECTED]> wrote: > > > >http://labs.cloudream.name/jquery/tbody-slidetoggle.html > > > > Click TH to toggle tbody, but plays bad in FF2/OPERA9.2- Hide quoted text > > > - > > > - Show quoted text -