I had a question. Is it possible to load the contents of a blog list on the same page when either {tag_nextpage}
or {tag_previouspage}
has been invoked? This would eventually replace the contents on the current page with the new content (ie. either prev page contents or next page contents).
Can someone tell me how do I proceed with this using jQuery or AJAX?
Approach A: Create seamless transition effects for those two links specifically
On page load, you'll need to:
$.get()
)click
s)Approach B: Create seamless transition effects for any in-site link
Use smoothState.js:
- Include a copy of jQuery and jQuery.smoothState.js on your page
- Add a container with an id of #main and include some links inside of it
- Create a new js file and run
$('#main').smoothState()
$(function() {
$('#main').smoothState();
});