On Nov 5, 2009, at 8:52 AM, Thadeus Burgess wrote: > Instead of putting a timer on response.flash, I moved its location > to another location on the site that does conflict with any text.
I like Gmail's approach to flash messages. They're not obtrusive, but they're still prominent enough to be noticed. And because they're relatively small, Google can reserve a portion of the page for them (which is otherwise white space), with the result that showing a flash message doesn't obscure other content, nor does it change the page layout. When I first registered at web2pyslices, I found the fade-out flash somewhat unhelpful, in that I didn't notice it until it was too late. OTOH, web2pyslices has a dedicated area in the UI header for the flash message, which is nice. Another thing I'd look at is to use color in the flash messages to indicate the message category. Notices of failed operations should look different from the routine "welcome back" message, IMO. > > -Thadeus > > > > > On Thu, Nov 5, 2009 at 1:08 AM, Sebastian Brandt > <[email protected]> wrote: > > Thnaks Russel for pointing that out. I think this is very nice. > Of course the message will be unread if the user is distracted, but > after the message is generated after user input in most cases I guess, > that should be no problem in my opinion. > > Sebastian > > On 5 Nov., 05:43, mdipierro <[email protected]> wrote: > > The problem with that is that if the user is distracted, the message > > fades out before he/she can read it. > > > > On Nov 4, 4:48 pm, Russell <[email protected]> wrote: > > > > > Hi there, > > > > > A mild annoyance: Sometimes the response flash covers other text > on > > > the screen and, when you are doing lots of testing, you are > > > continually clicking it to make it go away. > > > > > My suggestion is to replace web2py_ajax.html line 36: > > > > > jQuery('.flash').click(function() { jQuery(this).fadeOut('slow'); > > > return false; }); > > > > > with: > > > > > jQuery('.flash').hide().fadeIn(2000).animate({opacity: 1.0}, > > > 2000).animate({ opacity: 'hide' }, 2000); > > > > > This makes the response.flash fade in and then fade out. No > clicking > > > required. > > > > > Thanks > > > Russell > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

