Pager

Smart.Pager

Source

window.onload = function () {
	let pager1a = document.getElementById('pager1a'),
		pager1b = document.getElementById('pager1b'),
		pager1c = document.getElementById('pager1c'),
		pager1d = document.getElementById('pager1d'),
		pager1e = document.getElementById('pager1e'),
		pager2a = document.getElementById('pager2a'),
		pager2b = document.getElementById('pager2b'),
		pager3a = document.getElementById('pager3a'),
		pager3b = document.getElementById('pager3b'),
		mobile = document.getElementById('mobile'),
		imageContainer = document.getElementById('imageContainer'),
		content = document.getElementById('content');

	pager1b.localization =  {
		'previousButton': '',
		'nextButton': ''
	};

	pager1d.localization = {
		'firstButton': '',
		'lastButton': ''
	};

	pager1e.localization = {
		'previousButton': '',
		'nextButton': ''
	};

	pager2a.localization = pager2b.localization = {
		'previousPageButton': '',
		'nextPageButton': ''
	};

	mobile.addEventListener('change', function () {

		content.className = 'img' + event.detail.index;
	});
}
Edit

SUPPORT & LEARNING RESOURCES

LICENSE & DOWNLOAD