On Feb 21, 5:45 pm, "fxn" <[EMAIL PROTECTED]> wrote:
> Sorry for the noise guys, problem was I didn't know onclick didn't
> work in IE if set with setAttribute (my JavaScript is pretty weak).
If you use Scriptaculous and Prototype, you will learn Prototype's
version of javascript which is quite different to "classic" javascript
- you will learn very little about the underlying language.
For example, presuming that "cell" refers to a TD element, your line:
var data_row = Element.extend(cell).up('tr');
can be replaced with:
var data_row = cell.parentNode;
which requires no additional libraries.
>
> Is there something I can do to get the appear/fade effect on table
> rows?
What fade effect would you like - do you want the row to fade, then
the lower rows to slide up? Or both at once? How fast?
--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---