As name suggest, sometime we have to make a piece of functionality that can used too many application. Plug-in applications are programs that can easily be installed in your application. So today we have created basic plug-in in jquery.
$.fn.aniasHighlight = function () {
this.fadeOut(800).fadeIn(800).fadeOut(400).fadeIn(400).fadeOut(400).fadeIn(400);
//this.css("color", "");
};
So this plugin highilight effect. So you simply called in jquery
$(function ()
{
$(“divId”). aniasHighlight();
});
No comments:
Post a Comment