--
Robert Zotter
Zapient, LLC
Ruby on Rails Development and Consulting
http://www.zapient.com
http://www.fromjavatoruby.com
On Nov 13, 1:39 pm, Ehsun <[EMAIL PROTECTED]> wrote:
> I've create an Object in my pages script tags, something like this:
>
> a = new A();
>
>
--
Robert Zotter
Zapient, LLC
Ruby on Rails Development and Consulting
http://www.zapient.com
http://www.fromjavatoruby.com
On Nov 13, 12:51 pm, Diodeus <[EMAIL PROTECTED]> wrote:
> A simple Effect.Move will do.
>
> http://github.com/madrobby/scriptaculous/wikis/effect-move
>
>
Shawnl,
Take a look at the Tween Effect
http://github.com/madrobby/scriptaculous/wikis/effecttween
This should accomplish everything you are trying to do.
Cheers.
--
Robert Zotter
Zapient, LLC
Ruby on Rails Development and Consulting
http://www.zapient.com
http://www.fromjavatoruby.com
On
kimbaudi,
Like you said, $$() returns and array of DOM elements. You just need
to iterate over the collection and set up the observe event on each
item. For example:
$$('.class').each(function(element) {
element.observe('click', function() {
alert('clicked')