Greetings,
I am trying to add a row to a table using the blind down effect. I have this
working for lists (aka <li>) but not tables. With tables it seems to
display the newly inserted row then blind. I basically want to start with the
row hidden and then blind down.
For example this works with lists:
<ol style="" id="list1">
<li id="item1">scott was here</li>
<li style="display:none;" id="item2">fred was
here</li>
</ol>
<a href="#" onclick="new
Effect.BlindDown($(''item2''));">click</a>
However the same thing with a table does not produce the same effect:
<table>
<tr
id="testrow1"><td>scott</td><td>walter</td></tr>
<tr style="display:none;"
id="testrow2"><td>scott</td><td>walter</td></tr>
</table>
<a href="#" onclick="new
Effect.BlindDown($(''testrow2''));">click</a>
With the list version the row will be hidden and then blind down to have an
fluid effect. With the table it will show the row then blind down. Any ideas?
cheers, scott.
----------------------------------------------------------------------------------------------------
What''s an Intel chip doing in a Mac? A whole lor more that
it''s ever done in a PC.
My Digital Life - http://scottwalter.com/blog
Pro:Blog - http://scottwalter.com/problog
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs