1. A Change of Season
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Mar 2004
    Next Door
    Rep Power

    Why do people make some plugins for Jquery?

    For example why not simply use
    javascript Code:
    			var offset = $("#logo_place").offset();
    			    scrollTop: offset.top,
    			    scrollLeft: offset.left
    and instead make up my own?

    I see some unneccessary heavy plugins I am not sure they bother!
  2. #2
  3. A Not To Shabby Code Smurf
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Aug 2008
    Rep Power
    The example you provided, is a very simple usage of jQuery; but there are times when it is so much easier to use a plugin, for cretin situations, rather than write a bunch of tedious/drawn out/meticulous/complicated code. Plugins fall under the same concept of jQuery; they make JavaScript so much simpler to apply for web developers. There are global built in plugins, known as APIs, in the jQuery library; so really the entire application of the framework relies on plugins. In general; jQuery and jQuery Plugins make your life as a web developer much simpler, when apply JavaScript to your webpages.

IMN logo majestic logo threadwatch logo seochat tools logo