I am trying to build a text-bar above the website like Twitter or SO does. Any advice on how to build this would be great. I do not know what you call this feature, but maybe there is a jQuery plugin to do it?
The functionality I’m thinking of is “message” [x] to close the alert.
Thanks for your help!
No need to unnecessarily use jQuery Plugins. Just put the HTML you wanna display as a panel.
This is the code for Stack Overflow notifier
The HTML
The CSS
If you wanna see it in action, view the fiddle here
Also, if you are particular about the close button, then you might need some ajax calls that stops showing the notifier at a page refresh or like wise events when the user has closed the notifier by clicking on x mark. SO does it by calling
Also worthwhile to read are
P.S: To close the fiddle, I have used jQuery slideUp. If you are using pure javascript feel free to use