{"id":13571877,"url":"https://github.com/jney/jquery.pageless","last_synced_at":"2025-04-04T09:30:29.862Z","repository":{"id":65577110,"uuid":"23300","full_name":"jney/jquery.pageless","owner":"jney","description":"A jQuery plugin. As you scroll down you see more results coming back at you automatically.","archived":true,"fork":false,"pushed_at":"2014-05-01T18:24:49.000Z","size":394,"stargazers_count":270,"open_issues_count":9,"forks_count":52,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-05T04:34:20.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-06-07T23:32:28.000Z","updated_at":"2023-11-30T10:28:53.000Z","dependencies_parsed_at":"2023-01-30T10:05:11.485Z","dependency_job_id":null,"html_url":"https://github.com/jney/jquery.pageless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jney%2Fjquery.pageless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jney%2Fjquery.pageless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jney%2Fjquery.pageless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jney%2Fjquery.pageless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jney","download_url":"https://codeload.github.com/jney/jquery.pageless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247152746,"owners_count":20892548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T14:01:07.605Z","updated_at":"2025-04-04T09:30:29.540Z","avatar_url":"https://github.com/jney.png","language":"JavaScript","readme":"PageLess - endless page\n=======================\n\nDescription\n-----------\n\nPageless is a jQuery plugin.\nAs you scroll down you see more results coming back at you automatically.\nIt provides an automatic pagination in an accessible way : if javascript is disabled your standard pagination is supposed to work.\n\nParameters\n----------\n\n* `currentPage`: current page (params[:page])\n* `distance`: distance to the end of page in px when ajax query is fired\n* `loader`: selector of the loader div (ajax activity indicator)\n* `loaderHtml`: html code of the div if loader not used\n* `loaderImage`: image inside the loader\n* `loaderMsg`: displayed ajax message\n* `pagination`: selector of the paginator divs. (if javascript is disabled paginator is required)\n* `params`: paramaters for the ajax query, you can pass auth_token here\n* `totalPages`: total number of pages\n* `url`: URL used to request more data\n* `method`: HTML method for call URL, default - get\n* `scrape`: A function to modify the incoming data. (Doesn't do anything by default)\n* `complete`: A function to call when a new page has been loaded (optional)\n* `end`: A function to call when the last page has been loaded (optional)\n\nRequirements\n------------\n\n* [jQuery](http://download.jquery.com)\n\n\nThen just navigate to http://localhost:3000 and enjoy!\n\nDemo (Rails 3)\n----\n\n[Demo](https://github.com/jney/jquery.pageless.demo) is a Rails 3 app that just runs. It demonstrates the basic usage of pageless scrolling.\n\n    $ bundle install\n    $ rails s\n\nThen just navigate to http://localhost:3000 and enjoy!\n\nUsage\n-----\n\n    $('#results').pageless({ totalPages: 10\n                           , url: '/articles/'\n                           , loaderMsg: 'Loading more results'\n                           });\n\nThanks to\n---------\n\n* http://codemonky.com/post/34940898\n* http://www.unspace.ca/discover/pageless/\n* http://famspam.com/facebox\n\nContributors\n------------\n\n* [Jean-Sébastien Ney](https://github.com/jney)\n* [Alexander Lang](https://github.com/langalex)\n* [Lukas Rieder](https://github.com/Overbryd)\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjney%2Fjquery.pageless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjney%2Fjquery.pageless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjney%2Fjquery.pageless/lists"}