> I don't see how maxentries as parameter is need in this code > > jQuery.fn.pagination = function(maxentries, opts) > > in some plugins, i see everything works fine with just something like > this > > jQuery.fn.pluginname = function(opts)
It all depends on how the author wrote the plugin. If the function requires two params then you need to provide two params.