document.addEventListener('DOMContentLoaded', function () {
let linkedImages = document.querySelectorAll('.e-gallery-item');
let links = [
'https://element.how/elementor-pop-ups-problems/',
'https://element.how/elementor-horizontal-scroll-section/',
'https://element.how/amazing-accordion-section/',
];
linkedImages.forEach((linkedImage, i) => {
if (links[i] && links[i].length > 0) {
linkedImage.style.cursor = "pointer";
linkedImage.href = links[i];
}
});
});