I’ve been tasked with adding functionality to an existing ASP.net Form Application. Users are authenticated when they log in.
I’ve been asked to program the application so that when the user logs in, they see a special message notifying them that they have a new message(s).
I think that StackOverflow implements this functionality extremely well. The banners appear at the top of the page in a way that makes them impossible to miss and unobtrusive. Can the Stackers please chime in on how to implement functionality similar to this in my ASP.net application?
I use this technique on most of my apps. Basicaly I include a div when the user need to be notified of something. The css class goes like this:
To show the div I add it to my page with the following code (ASP.NET MVC):
And you must have the following script in your div to create the slide effect:
The code was simplified but this is basically what you need to create a Stackoverflow-like sliding panel