// Adding a new item to the carousel to allow users to request a quote for other materials window.addEventListener("DOMContentLoaded", () => { requestAnimationFrame(() => { let anfrageInterval = setInterval(() => { items = document.querySelectorAll(".list-item-carousel .owl-item"); if (!items[0]) return; else clearInterval(anfrageInterval); lastItem = items[items.length - 1].cloneNode(true); link = lastItem.querySelector(".thumb-content a").href; link = link.replace(/\/$/, ""); lastItem.querySelector(".thumb-content a").innerText = "Jetzt Anfragen"; lastItem.querySelector(".thumb-content a").style.textAlign = "center"; lastItem.querySelector(".thumb-content a").href = link + "?isOtherMaterial=true"; imageText = lastItem.querySelector(".thumb-image .bs-item-image-name"); imageText.innerText = "Ihr Material ist nicht dabei?"; imageText.style.fontSize = "22px"; imageText.style.maxWidth = "80%"; imageText.style.margin = "0 auto"; imageText.style.left = "50%"; imageText.style.transform = "translateX(-50%)"; // place svg before imageText element imageText.insertAdjacentHTML( "beforebegin", '' ); lastItem.querySelector(".thumb-image .prop-1-1").innerHTML = '
'; document.querySelector(".list-item-carousel .owl-stage").appendChild(lastItem); }, 500); }); });

Lagerführende Rundstäbe


Rundstäbe auf Anfrage

Rundstäbe auf Anfrage

Alle ansehen