Animated borders for any block level element. This plugin creates an animated border with configurable thickness and color. Question or comments? Leave a note on the blog entry for this.
The animated border method toggles animated borders on an element. To apply animated borders to an elements:
$('div.alpha').animatedBorder({size : 1, color : 'red'});
Apply it again to remove the borders:
$('div.alpha').animatedBorder();
The plugin accepts a configuration object. You can specify a background color, and the size of the border.
options = {
size: 2,
color: '#6699CC'
}