Comments (4)
i build a very ugly workaround:
$(".list_holder").pajinate({
items_per_page : 10,
item_container_id : '.list2',
nav_panel_id : '.list_nav',
nav_label_first : '«',
nav_label_last : '»',
nav_label_prev : '‹',
nav_label_next : '›'
});
$(".list_nav a").bind("click", function(){
if($(".previous_link").hasClass("no_more")){
$(".first_link").addClass("no_more");
}else{
$(".first_link").removeClass("no_more");
}
if($(".next_link").hasClass("no_more")){
$(".last_link").addClass("no_more");
}else{
$(".last_link").removeClass("no_more");
}
})
$(".list_nav a.active_page").trigger("click");
from pajinate.
Working on this right now. Will push the code in the next hour or two.
from pajinate.
thx.
from pajinate.
"no_more" class is now added to first/last/prev/next in the appropriate situations.
from pajinate.
Related Issues (20)
- Facing Issue while using 1.6.2+ libraries
- Reset pajinate after apply sort or filtering on list items
- Multiple paginator on same page HOT 2
- pajinate ellipses issue with start_page HOT 1
- ellipse set to visible when too few items for paging
- Give a class instead of hiding HOT 1
- Ellipses click causes page reload?
- IE 7 and 8 issue
- The minified version is not working.
- Showing initial ellipses (...) with tables HOT 4
- Bottom Navigation Problem
- Problems using JQuery 1.10.2 HOT 1
- Hidden navigation numbers HOT 3
- Is there any way to center the page_navigation?
- show_paginate_if_one not working? HOT 1
- Demopage not working
- the code that conflict with the jQuery library :
- issue with minification
- Is there a way to make work two or more paginator with the same class in the same page?
- Compatibility with jQuery 3.2.1 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pajinate.