After trying about everything I could think of to make a 2nd row
slide & hide smoothly, I finally decided to make two tables....

The first table contains the visible information, such as event name,
date, & time (this is an experiment for a calendar).

The second table right beneath it contains all the details of the
event.

I applied an id directly to the first table to make it clickable,
and then wrapped the second table in a div.

After doing that I get very smooth show and hide and it looks
no different than it would if it were all in one table.

Rick

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Collett
Sent: Wednesday, February 21, 2007 11:49 AM
To: jQuery Discussion.
Subject: Re: [jQuery] accordion table, instead of an accordion list/menu?

On 21/02/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote:
> Thing is that even if you have a callback to the slideToggle and set
> the display property to table-row, it still comes out wierd...
>
> maybe a wrapping div is the best solution?

I have tried wrapping with DIV's, but they don't seem to work for me
(around tr, tbody and wrapping the contents of cells).

I have not come across any method in JavaScript that can slide up/down
a row. I am not sure if Prototype or YUI are capable of this.





_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to