it’s really nice, thank you.
but what if it had a “loading” message when loading the next page’s content ( with a good looking Modal )
and another thing is, imagine if the page is so long, when we paginate to the next page, and we’re in the bottom of the page, then it automatically comes to #top.
all of these are in here: http://badoo.com
@behz4d thanks for ur valuable comments. i am looking forward to put these modification in next version immediately.
I am curious as to how this can be applied. Does it require the use of a database or can it simply be used to break up content such as a long list. For example, I have a table with 80 items each within a
Yes it uses database. It is actually for database records only, so your records will get split into any number of records you configure in code. Once you configure database setting in config.php file & run index.php, it will automatically import a sample table of records.
You can also check the documentation provided with it for more details.
How can I implement AJAX pagination with setInterval to call the page next every 5 seconds?
You can do by combining some functions like .each() method of jquery to fetch each links of Pagination and then call .click() in the interval. I think that will work.
I am building a website with 15 pages (page 1-15). I placed pagination div on each page, so that if you click on 3, 4, then 5 and hit next it should go to 6. i cannot get it to work. Please help me, do i need to create a database in MySQL with page number and url ? It is supposed to be a simple pagination where previous and next will function.
There is already clear instructions given in the documentation provided with the source code. Please follow it.
any wordpress version?
nopes. never got a chance to look into that.
nopes. This is just for basic php and mysql purpose
Hi, I would like to be able to create a table using the info generated by the loop (for formatting because there will be 6 fields to be displayed for each line) but whenever I try, even though the table looks ok the pagination disappears.
This is what I have tried so far
//check if records exists & display result
//run loop to fetch data & print from database table
while($row = mysqli_fetch_assoc($result_data))
//display pagination on bottom of list
pagination($item_count, $limit, $cur_page, $link, $orderby);
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
View license details
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work