[Proto-Scripty] Re: evalScripts problem

2008-11-13 Thread Robert Zotter
-- 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(); > >

[Proto-Scripty] Re: slide up effect

2008-11-13 Thread Robert Zotter
-- 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 > >

[Proto-Scripty] Re: slide up effect

2008-11-13 Thread Robert Zotter
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

[Proto-Scripty] Re: $$() and Element.observe() question

2008-10-29 Thread Robert Zotter
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')