Este site precisa que o seu navegador tenha JAVASCRIPT ativo para funcionar.
`;
const rangeInput = container.querySelector('.cx-slider-' + articleId);
if(rangeInput) {
const stopEvents = ['click', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'dragstart'];
stopEvents.forEach(evt => {
rangeInput.addEventListener(evt, function(e) {
e.stopPropagation();
if (evt === 'dragstart' || evt === 'click') {
e.preventDefault();
}
}, { passive: false });
});
}
}
});
}
})
.catch(err => console.error("Erro ao carregar slider antes/depois no card:", err));
})();
`;
const rangeInput = container.querySelector('.cx-slider-' + articleId);
if(rangeInput) {
const stopEvents = ['click', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'dragstart'];
stopEvents.forEach(evt => {
rangeInput.addEventListener(evt, function(e) {
e.stopPropagation();
if (evt === 'dragstart' || evt === 'click') {
e.preventDefault();
}
}, { passive: false });
});
}
}
});
}
})
.catch(err => console.error("Erro ao carregar slider antes/depois no card:", err));
})();
`;
const rangeInput = container.querySelector('.cx-slider-' + articleId);
if(rangeInput) {
const stopEvents = ['click', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'dragstart'];
stopEvents.forEach(evt => {
rangeInput.addEventListener(evt, function(e) {
e.stopPropagation();
if (evt === 'dragstart' || evt === 'click') {
e.preventDefault();
}
}, { passive: false });
});
}
}
});
}
})
.catch(err => console.error("Erro ao carregar slider antes/depois no card:", err));
})();
`;
const rangeInput = container.querySelector('.cx-slider-' + articleId);
if(rangeInput) {
const stopEvents = ['click', 'mousedown', 'mousemove', 'mouseup', 'touchstart', 'touchmove', 'touchend', 'dragstart'];
stopEvents.forEach(evt => {
rangeInput.addEventListener(evt, function(e) {
e.stopPropagation();
if (evt === 'dragstart' || evt === 'click') {
e.preventDefault();
}
}, { passive: false });
});
}
}
});
}
})
.catch(err => console.error("Erro ao carregar slider antes/depois no card:", err));
})();