Look at the sky. We are not alone. The whole universe is friendly to us and conspires only to give the best to those who dream and work.
document.addEventListener("DOMContentLoaded", function () { setTimeout(function () { // تأخير بسيط لضمان تحميل الصفحة بالكامل et accessibilityIcon = document.querySelector('.icon-accessibility'); // البحث عن الأيقونة let menu = document.getElementById("accessibilityMenu"); // البحث عن القائمة if (!accessibilityIcon) { console.error("❌ لم يتم العثور على الأيقونة: .icon-accessibility"); return; } if (!menu) { console.error("❌ لم يتم العثور على القائمة: #accessibilityMenu"); } accessibilityIcon.addEventListener("click", function (event) { event.preventDefault(); menu.style.display = (menu.style.display === "block") ? "none" : "block"; }); }, 500); // تأخير نصف ثانية });
Skip to content