I’m having difficulty getting the pagination functionality to work properly on my page. Due to the tab-system, when refreshing the page after clicking the pagination button, it resets to the original tab-pane.
I searched the forum and found a code but it isn’t quite there yet, I have copied in the code I’m using below;
<script src="[https://cdnjs.cloudflare.com/ajax/libs/jquery.pjax/2.0.1/jquery.pjax.min.js]
(https://cdnjs.cloudflare.com/ajax/libs/jquery.pjax/2.0.1/jquery.pjax.min.js?
fbclid=IwAR0s9feyYLuV5fmdOWGyMgel-NTq4g_r1FyPU8WI5P1FvyU6CsIcbUkRj1U)"></script>
<script>
var containerSelectors = ['#projects', '#blog', '#awards', '#press', '#video'];
containerSelectors.forEach(function(id) {
$(document).pjax(
id + ' ' + '.pagination-wrapper a',
id,
{
container: id,
fragment: id,
scrollTo: false,
timeout: 1000,
push: false
}
)
});
// These 3 lines should reinitialize interactions
$(document).on('pjax:end', function() {
Webflow.require('ix2').init();
});
Here is my public share link: Webflow - Landmass London