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); // تأخير نصف ثانية });
أيقونة أصحاب الهمم

المتميزات في شهر نوفمبر 2023 (الحلقات الحضورية)

مشاركة