On 7/10/06, Eskil Kvalnes <[EMAIL PROTECTED]> wrote:
On 7/11/06, Jon Tirsen <[EMAIL PROTECTED]> wrote:
> I've been using a technique where I've had a hidden <tr><td
> colspan="x"> (where x = total number of columns). Inside the <td> I
> have a <div> that is also hidden (display:none), when I start the
> effect I show the <tr> and then animate the <div> inside it. It
> worked, but I'm not sure about browser portability the solution didn't
> make it out of "idea-stage" (and I don't normally test with IE as I'm
> a Mac-bigot).

It seems to me that with your approach the row would just appear
and then the effect would apply to the contents of that row.

Why?  Without testing it, I'd speculate that when the <tr/td> is
shown, its height would be 0 (or near-0 depending on styles applied)
because the inner div would be set display:none and have no place in
the page flow.  The animation would then gradually grow the div and
the <tr/td> would expand with it.

Todd
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to