Hi I have done a little JS class to display "transparent message" on a page. It''s a nice way to display flash[:error/:notice] messages (a rails helper is included) but you can do a lot of more things with it. It''s up to you ;) URL: http://transparent-message.xilinus.com/ Ajax demo: http://transparent-message.xilinus.com/main/ajax It''s under MIT-licence fill free to use it :) Seb --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Sébastien Gruhier wrote:> > Hi > > I have done a little JS class to display "transparent message" on a > page. > It''s a nice way to display flash[:error/:notice] messages (a rails > helper is included) but you can do a lot of more things with it. It''s > up to you ;) > > URL: http://transparent-message.xilinus.com/ > Ajax demo: http://transparent-message.xilinus.com/main/ajax > > It''s under MIT-licence fill free to use it :) > Seb >Cool! Is your JS code base on prototype.js? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Cool, Seb! The neat thing about this approach, is that it can handle errors regardles of whether they occurred during an ajax request or a normal request. Starr --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Sure On Oct 13, 2006, at 5:35 PM, Long wrote:> > Sébastien Gruhier wrote: >> >> Hi >> >> I have done a little JS class to display "transparent message" on a >> page. >> It''s a nice way to display flash[:error/:notice] messages (a rails >> helper is included) but you can do a lot of more things with it. It''s >> up to you ;) >> >> URL: http://transparent-message.xilinus.com/ >> Ajax demo: http://transparent-message.xilinus.com/main/ajax >> >> It''s under MIT-licence fill free to use it :) >> Seb >> > Cool! Is your JS code base on prototype.js? > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Pretty cool. Stuart On 10/13/06, Starr <snhorne-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Cool, Seb! > > The neat thing about this approach, is that it can handle errors > regardles of whether they occurred during an ajax request or a normal > request. > > Starr > > > > >-- http://en.wikipedia.org/wiki/Dark_ambient --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Hi I was trying to use Transparent message for my rails application Here I put transparent_message_helper.rb in app/helpers and the javascript in public/javascript folder..And the test code in an rhtml file.But when i execute I am getting the error undefined method `transparent_flash_message'' for #<#<Class:0xb74b0cc8>:0xb74b0ca0> Is it because the file not included?Is app/helpers not the place to put transparent_message_helper.rb? Please help Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---