(function () { const images = [
"https://peliqan.io/wp-content/uploads/2025/11/Build-AI-Agents-1.webp",
"https://peliqan.io/wp-content/uploads/2025/11/Sync-data-2.webp",
"https://peliqan.io/wp-content/uploads/2025/11/Low-code-Python-1.webp",
"https://peliqan.io/wp-content/uploads/2025/11/Work-with-1.webp"
]; function init() {
const items = document.querySelectorAll(".accordion-auto details");
const image = document.querySelector(".accordion-image img"); console.log("FOUND:", items.length, image); if (!items.length || !image) return; items.forEach((item, index) => {
item.addEventListener("toggle", function () {
if (item.open) { image.style.opacity = 0;
image.style.transform = "scale(0.96)"; setTimeout(() => {
image.src = images[index];
image.style.opacity = 1;
image.style.transform = "scale(1)";
}, 250); }
});
});
} window.addEventListener("load", function () {
setTimeout(init, 800);
}); })();
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it. OK