Skip to content

Load More button, that loads content dynamicly for use in projects.

Notifications You must be signed in to change notification settings

GMX9/js-loadmore-pagination

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

js-loadmore-pagination

Load More button, that loads content dynamicly to use in projects.

How to use:

Load the function loadMore_Pagination(), set the container and items class and also the amount of items you want to display. Understanding first the function:

loadMore_Pagination(container_class,items_class,amount_to_display);

Now let's load the main js file needed so that our load more function works:

 <script src="../path/pagination.loadmore.js"></script>

Finally let's set call the function with their due elements:

 <script>
 loadMore_Pagination("#load_btn_zone",".blog-list-simple",2);
 </script>

Now it's done. You can edit your button in the main JS file or change it's class.

About

Load More button, that loads content dynamicly for use in projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published