Irak'ın başkenti Bağdat ile ülkenin orta ve güney kentlerinde 25 Ekim'de başlayan hükümet karşıtı gösteriler devam ediyor.
Irak'ın başkenti Bağdat ile ülkenin orta ve güney kentlerinde 25 Ekim'de başlayan hükümet karşıtı gösteriler devam ediyor. Başkent Bağdat'taki Al Rasheed caddesinde toplanan göstericiler ile güvenlik güçleri arasında çatışma yaşandı.
let originalTop = masthead.offsetTop;
let hasShown = false;
let timer = null;
function hasAdContent() {
return masthead.querySelector("iframe, img, video, ins, object, embed") ||
masthead.innerHTML.trim().length >30;
}
function getTop() {
const bottomSection = document.querySelector(".bottom-section.h-100px");
if (bottomSection) {
return bottomSection.getBoundingClientRect().bottom;
}
return 102;
}
function showAd() {
if (hasShown || !hasAdContent()) return;
hasShown = true;
wrapper.style.setProperty("--masthead-top", getTop() + "px");
wrapper.classList.add("is-overlay");
masthead.classList.add("is-fixed");
requestAnimationFrame(function () {
masthead.classList.add("is-visible");
});
clearTimeout(timer);
timer = setTimeout(function () {
masthead.classList.remove("is-visible");
masthead.classList.remove("is-fixed");
wrapper.classList.remove("is-overlay");
wrapper.style.removeProperty("--masthead-top");
}, 5000);
}
window.addEventListener("scroll", function () {
if (window.scrollY >originalTop + 50 && !hasShown) {
showAd();
}
});
}); --%>
Sizlere daha iyi hizmet sunabilmek adına sitemizde çerez konumlandırmaktayız. Kişisel verileriniz, KVKK ve GDPR kapsamında toplanıp işlenir. Detaylı bilgi almak için Aydınlatma Metnimizi inceleyebilirsiniz.