flaviusmatis / flaviusmatis/simplePagination.js

New to pagination

Open
#91 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
777
Forks
397
PR merge metrics
No merged PRs in 30d

Description

Hi

I'm new to this, been trying to insert pagination code on web page. I've put the js and css files on my server and pointed to them in the head section of my html. I'm now trying to use the place holder on my site but not sure what to insert to make it display. Do I need to bracket the code using php?
Do I need to put anything else on the server? I'm a bit lost on this at the moment, any help would be appreciated if somebody could explain in laymans terms.

$(function() {
$(selector).pagination({
items: 100,
itemsOnPage: 10,
cssStyle: 'light-theme'
});
});

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the supplied jQuery initialization snippet and the referenced JavaScript, CSS, HTML head, and placeholder setup. Check the repository's usage documentation, if present, against the questions about the selector and server files. Done means documenting the minimum setup and a complete example for displaying pagination.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend, web-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.