That's right, I can only assume that you have code similar to this:
<div class="some-container"> <p>My first paragraph</p> <p>My second paragraph</p> <p>My third paragraph</p> </div> <div class="pagination"> <a href="#" class="first" data-action="first">«</a> <a href="#" class="previous" data-action="previous">‹</a> <input type="text" readonly="readonly" /> <a href="#" class="next" data-action="next">›</a> <a href="#" class="last" data-action="last">»</a> </div>
And you want to show / hide each of your paragraphs using jqPaginaton, try the following code:
$(document).ready(function() {
Take a look at this working jsFiddle example , it demonstrates using a plugin to show and hide a series of paragraphs. Of course, this example can be extended to work with other elements / scripts.
Be sure to comment on whether your problem has been resolved.
source share