Fading an element after updating it
In modern web applications where parts of a page are updated without loading the entire page, it is necessary to inform the user about the change that has happened. Without it, a user may not know that a certain part of a page has been changed.
One of the commonly used techniques for this is known as the Yellow Fade Technique or the YFT. The basic idea behind it is simple: when a part of a page is changed or is required to be highlighted, that part is highlighted with a yellow color which gradually fades to its original colour. This attracts the user's attention to that part and the user notices the change. Although simple, this technique should be used while creating rich AJAX applications.
jQuery core does not provide this effect in itself but jQuery UI has this effect. However, to use this effect with jQuery you need to include two separate files effects.core.js
and effects.highlight.js
of the jQuery UI (which is an overload in itself) or you can use...