Re: [Rails-spinoffs] Effect together with ...firstChild - can't get it to work

2006-01-13 Thread Matthias Buchetics
Thank you very much for the hint. The following code worked: new Effect.Highlight($('items').getElementsByTagName('li')[0]); Thanks again, Mat On 1/13/06, David Goodlad <[EMAIL PROTECTED]> wrote: > On 1/12/06, Matthias Buchetics <[EMAIL PROTECTED]> wrote: >

[Rails-spinoffs] Effect together with ...firstChild - can't get it to work

2006-01-12 Thread Matthias Buchetics
Hi, I am relatively new to Rails and I can't get the following to work: what I am trying to do is to make the first item of a list to flash: var item = $('items').firstChild; new Effect.Highlight(item); I get the this Javascript error message: this._base has no child (effects.js, line 445) But I