Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

Coordinating multiple instances?


Project:Pagination
Version:1.1
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Including pagination at the top and bottom of a list works great $('div.paging').pagination(...) -- except that an event from one instance is not propagated to the other. (So one instance will show page 3 and the other will still indicate page 1.) I realize this is perhaps an unusual condition, but for longer lists, the duplication at the top and bottom of the page is nice. Is there a workaround? (one option: maybe manually redrawing the other control in the callback? drawLinks() - although i'm not sure how to find the instance again...)

Comments

#1

I had the exact same issue.
The fix, nicely provided by mconway at www.jqueryhelp.com, was simple.

Change
var panel = jQuery(this);
to
var panel = jQuery('.pagination');

here is the full thread
http://www.jqueryhelp.com/viewtopic.php?t=240&sid=780d9c6729fa0292792e89...