[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread mkmanning
Not really, the problem is making the table rows or cells display:block. I suggest playing around with the markup and CSS using block element for the header, to get it to look how you want, then add the behavior after. On Feb 13, 11:15 am, Mark Steudel wrote: > Follow up question, if I instead w

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Follow up question, if I instead wanted to use multiple table cells instead of one big colspan, is there a way to do this same sort of thing without a div? On Feb 12, 11:35 pm, mkmanning wrote: > That should read "..first-child of its parent,.." in the first > sentence > > On Feb 12, 11:33 pm,

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-13 Thread Mark Steudel
Thanks I'll give that a shot! On Feb 12, 11:35 pm, mkmanning wrote: > That should read "..first-child of its parent,.." in the first > sentence > > On Feb 12, 11:33 pm, mkmanning wrote: > > > Actually, Mark's use of 'first-child' is correct. ':first-child' is > > used to indicate the the elemen

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread mkmanning
That should read "..first-child of its parent,.." in the first sentence On Feb 12, 11:33 pm, mkmanning wrote: > Actually, Mark's use of 'first-child' is correct. ':first-child' is > used to indicate the the element is the first-child its parent, not > the parent element's first-child. The tr has

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread mkmanning
Actually, Mark's use of 'first-child' is correct. ':first-child' is used to indicate the the element is the first-child its parent, not the parent element's first-child. The tr has a class of .ajax, and since it's prepended to the tbody, it is the first-child of the tbody, so the correct selector

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread James
That's probably because you're using the "first-child" of the , which is just the first . Maybe you intended to do: $(".ajax").slideDown('slow') ? I'm not sure of its effects for a tr though compared to a div. On Feb 12, 4:43 pm, Mark Steudel wrote: > I have a table that is setup with a tbody t

[jQuery] Re: Prepended row, slide-in, showing only first cell

2009-02-12 Thread James
That's probably because you're using the "first-child" of the , which is just the first . Maybe you intended to do: $(".ajax").slideDown('slow') ? I'm not sure of its effects for a tr though compared to a div. On Feb 12, 4:43 pm, Mark Steudel wrote: > I have a table that is setup with a tbody t