Good morning,
please i need help. I would like to make a page with several comparison sliders. my site is in html5 css without CMS.
I found this slider that suits me. but I can’t duplicate it:
https://codyhouse.co/demo/image-comparison-slider/index.html
Thank you for your help
Nikola Tesla’s nephew
i duplicate :
function checkLabel(container) {
container.each(function(){
var actual = $(this);
updateLabel(actual.find('.**cd-image-label**[data-type="modified"]'), actual.find('.cd-resize-img'), 'left');
updateLabel(actual.find('.**cd-image-labe**l[data-type="original"]'), actual.find('.cd-resize-img'), 'right');
});
resizing = false;
and rename :
.**cd-image-label 2