Can some one point me in the right direction? I''ve got several pages that will respond to user input by creating a new div in the content area. I want that new div to visually expand into view or flash with a background color rather than just appear. Thanks. -- Posted via http://www.ruby-forum.com/.
Arch Stanton wrote:> Can some one point me in the right direction? > > I''ve got several pages that will respond to user input by creating a new > div in the content area. I want that new div to visually expand into > view or flash with a background color rather than just appear. > > Thanks.I entered "RJS tutorial" into Google and got a few hits: http://blog.fearoffish.com/articles/2006/03/04/tutorial-rails-rjs-templates Among others. Jeff -- Posted via http://www.ruby-forum.com/.
Jeff Coleman wrote:> Arch Stanton wrote: >> Can some one point me in the right direction? >> >> I''ve got several pages that will respond to user input by creating a new >> div in the content area. I want that new div to visually expand into >> view or flash with a background color rather than just appear. >> >> Thanks. > > I entered "RJS tutorial" into Google and got a few hits: > > http://blog.fearoffish.com/articles/2006/03/04/tutorial-rails-rjs-templates > > Among others. > > JeffThanks. I also discovered that the method ''visual_effect(name, element_id = false, js_options = {})'' in the scriptaculous library among others. Took me 1 line of code to implement after that. Sweet. -- Posted via http://www.ruby-forum.com/.