© Scott Dawson, http://scottpdawson.com (607) 279-7173, @scottpdawson

Floating Footer Notification

Sometimes a full-blown confirmation page is way overkill, and a JavaScript alert box is passé (and obnoxious). In certain circumstances, after an Ajax event completes, for example, a passive notification that appears long enough to read and then disappears can be quite effective. This floating footer notification code sample shows it at the bottom of the page, regardless of the user scroll, but you could put it anywhere in the page that’s visible to the user. Just one CSS class and one JavaScript function is all you need.

Floating Footer Notification – CSS and JavaScript

Want more? Subscribe to my TinyLetter at tinyletter.com/scottpdawson

Leave a Comment

Your email address will not be published. Required fields are marked *