Hide message after number of times
budda - May 31, 2007 - 12:39
| Project: | Message Effects |
| Version: | 5.x-0.6 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
How about adding an optional "hide after number of times" loop is completed - so that an error message div will just be removed from the display.
This would be good when floating the message box div above the site content so as not to ruin the layout.
i'm guessing it's just a case of chaining a final event to the jquery code? but i'm no jquery ninja (yet).

#1
Interesting idea. I hadn't thought about the concept of overlaying the message.
I would consider it bad practice to have the messages automatically disappear from the screen (even after it dances around a bit). User tests have found that there are situations where they are window juggling (or just grabbing a cup of tea) and might miss the message even if it flashes -- especially when they're on a slower connection, or the server is bogged down.
However, I wouldn't be adverse to adding a feature to float the message (as an absolutely placed div) and give the user a "close this 'window'" link to make it go away.