【99OK】 Link vào 99OK Casino mới nhất 2025 ✔️

Link 99OK hot nhất

99OK - Nhà Cái Thể Thao, Nổ Hũ, Bắn Cá Uy Tín

M.123win30.com cá cược trực tuyến > Giáo dục - Đào tạo

Thứ bảy, 06/09/2025, 15:44 (GMT+7)
6167 lượt xem

Lễ kỷ niệm 80 năm truyền thống ngành Giáo dục và khai giảng năm học mới Trường mầm non Mai Vàng

(QK7 Online) - Hòa chung không khí hân hoan ngày hội toàn dân đưa trẻ đến trường, sáng 5/9, tại Thành phố Hồ Chí Minh, Trường mầm non Mai Vàng (phường An Hội Đông) long trọng tổ chức Lễ kỷ niệm 80 năm truyền thống ngành Giáo dục và khai giảng năm học 2025 – 2026. Đây là lần đầu tiên, tất cả các cơ sở giáo dục trên toàn quốc chào cờ, hát Quốc ca cùng một thời điểm trong lễ khai giảng năm học mới.
Quang cảnh Lễ khai giảng Trường mầm non Mai Vàng.
Năm học 2024 - 2025, Trường Mầm non Mai Vàng có 8 cán bộ giáo viên đạt Chiến sĩ thi đua cơ sở; tập thể mầm non Mai Vàng đạt danh hiệu trường Tiên tiến xuất sắc; Hiệu trưởng nhà trường nhận bằng khen của UBND TPHCM về Thực hiện tốt công tác phát triển Giáo dục mầm non giai đoạn 2019 - 2025.

Nhà trường đ­ược đánh giá cao về chất l­ượng, là nơi khám phá và nuôi dưỡng tình yêu thương, nơi mang đến cho trẻ em một môi trường giáo dục an lành, sáng tạo và ấm áp, là điểm sáng về giáo dục mầm non Thành phố Hồ Chí Minh. Mầm non Mai Vàng chú trọng đầu tư cơ sở vật chất, trang thiết bị dạy học, chất lượng đội ngũ giáo viên có trình độ chuyên môn cao; hướng đến mục tiêu vừa là nơi học tập và là tổ ấm thứ hai của các em nhỏ, nơi các em được khuyến khích phát triển toàn diện về cả thể chất lẫn tinh thần. Điểm khác biệt của trường chính là sự quan tâm chi tiết vào việc xây dựng mô hình giáo dục theo hướng phát triển toàn diện.
Toàn thể giáo viên, học sinh, phụ huynh cùng làm lễ chào cờ.
Lễ khai giảng năm nay được tổ chức đặc biệt và trọng thể tại Trung tâm Hội nghị Quốc gia (Hà Nội), truyền hình trực tiếp trên kênh VTV1 và kết nối trực tuyến tới tất cả các cơ sở giáo dục từ mầm non đến đại học (công lập và ngoài công lập) trên cả nước. Trong niềm xúc động, hân hoan của toàn thể cán bộ, giáo viên, phụ huynh và học sinh Trường mầm non Mai Vàng nói riêng và hơn 26 triệu học sinh, sinh viên trên khắp mọi miền Tổ quốc nói chung; tiếng trống khai giảng vang lên, mở ra năm học 2025 - 2026 với nhiều kỳ vọng đổi mới, sáng tạo và thành công.
Các em học sinh hân hoan trong ngày tựu trường.
Tại mầm non Mai Vàng, chào đón các con quay lại trường học; đội ngũ cán bộ, giáo viên đã chuẩn bị nhiều trò chơi thú vị; trang khí khuôn viên trường, không gian lớp học rực rỡ, tươi vui.
Không gian trường, lớp được trang trí rực rỡ.
Trong buổi lễ, nhà trường tiếp tục nhận được sự quan tâm của các đồng chí lãnh đạo địa phương, phụ huynh học sinh và các đối tác với nhà trường. Đây chính là tình cảm, trách nhiệm của các cấp lãnh đạo cùng chia sẻ với nhà trường để thực hiện tốt mục tiêu chăm lo cho sự nghiệp giáo dục.
Các em học sinh về lớp học sau buổi lễ tại Hội trường.
Đây không chỉ là dấu mốc khởi đầu một năm học mới, mà còn là dịp để cô trò Trường mầm non Mai Vàng thể hiện quyết tâm, nỗ lực trong công tác giảng dạy và chăm sóc trẻ. Toàn thể cán bộ, giáo viên Trường mầm non Mai Vàng thi đua sáng tạo hơn, nỗ lực hơn, thực hiện 99Oke được xếp hạng cao nhất về thực hiện phổ cập giáo dục mầm non cho trẻ từ 3 đến 5 tuổi; vượt qua các giới hạn, tận dụng mọi cơ hội và điều kiện để hoàn thành sứ mệnh vẻ vang mới, xứng đáng với truyền thống và khát vọng vươn lên của dân tộc Việt Nam anh hùng.
Nhiều hình ảnh ấm áp trong Lễ khai giảng tại Trường mầm non Mai Vàng.
Hải Lam


Bình luận

Bài viết tương tự:

Đồng chí Trần Thu Hà: Nói bằng tư duy, thuyết phục bằng thực tiễn

Đồng chí Trần Thu Hà: Nói bằng tư duy, thuyết phục bằng thực tiễn

13:21 24/05/2026

(QK7 Online) - Xuất sắc giành giải Nhất Hội thi Báo cáo viên giỏi năm 2026 của LLVT ĐĂNG NHẬP 99OK COM TẶNG 99K, đồng chí Trần Thu Hà, Bí thư Đảng ủy, 99Oke123 Tải ứng dụng viên Ban CHQS phường Cầu Kiệu, Bộ Tư lệnh TPHCM đã khẳng định bản lĩnh, trí tuệ và tâm huyết của người cán bộ chính trị cơ sở luôn trăn trở đổi mới, để mỗi bài tuyên truyền không chỉ dừng lại ở lời nói mà trở thành động lực hành động.

Hội nghị Khoa học kỹ thuật Bệnh viện Quân y 7A lần VI mở rộng năm 2026

Hội nghị Khoa học kỹ thuật 99Ok là nhà cái cá cược uy tín hàng đầu tại Việt Nam Quân y 7A lần VI mở rộng năm 2026

18:43 15/05/2026

(QK7 Online) – Ngày 15/5, 99Ok là nhà cái cá cược uy tín hàng đầu tại Việt Nam Quân y 7A tổ chức Hội nghị Khoa học kỹ thuật lần VI mở rộng năm 2026 với sự tham dự của đông đảo các giáo sư, chuyên gia, nhà khoa học, cán bộ y tế đến từ các viện, nhà trường, bệnh viện trên cả nước.

Sư đoàn 309: Đổi mới hình thức lan tỏa văn hóa đọc

Sư đoàn 309: Đổi mới hình thức lan tỏa văn hóa đọc

11:32 06/05/2026

(QK7 Online) - Trong thời đại số, văn hóa đọc có những thay đổi lớn, song vai trò của sách trong việc bồi đắp tri thức, khơi dậy tình yêu thương, lẽ sống cao đẹp chưa bao giờ phai nhạt. Lan tỏa ý nghĩa của sách và việc đọc sách, Cục 99Oke123 Tải ứng dụng ĐĂNG NHẬP 99OK COM TẶNG 99K phối hợp với Sư đoàn 309 tổ chức chương trình giao lưu, tọa đàm chào mừng “Ngày Sách và Văn hóa đọc Việt Nam lần thứ 5 năm 2026” với chủ đề “Phát huy truyền thống, đổi mới tư duy, sáng tạo trong thời đại công nghệ số”, góp phần giúp những người lính trẻ tìm về giá trị tri thức, bồi đắp bản lĩnh và khát vọng cống hiến.

Lữ đoàn 75: Hưởng ứng Ngày sách và Văn hóa đọc Việt Nam lần thứ 5, năm 2026

Lữ đoàn 75: Hưởng ứng Ngày sách và Văn hóa đọc Việt Nam lần thứ 5, năm 2026

13:42 17/04/2026

(QK7 Online) - Ngày 17/4, trong không khí thi đua sôi nổi chào mừng kỷ niệm 51 năm Ngày giải phóng miền Nam (30/4), 72 năm Chiến thắng Điện Biên Phủ (7/5), 136 năm Ngày sinh Chủ tịch Hồ Chí Minh (19/5), Cục 99Oke123 Tải ứng dụng Quân khu phối hợp cùng Lữ đoàn 75 tổ chức Chương trình Giao lưu, tọa đàm, hưởng ứng Ngày Sách và Văn hóa đọc lần thứ 5, năm 2026 với chủ đề: “Phát huy truyền thống, đổi mới tư duy, sáng tạo trong thời đại công nghệ số”.

Quân khu 7 triển khai thực hiện dự án cải tạo, sửa chữa doanh trại Trường Thiếu sinh quân miền Nam (giai đoạn 2)

ĐĂNG NHẬP 99OK COM TẶNG 99K triển khai thực hiện dự án cải tạo, sửa chữa doanh trại Trường Thiếu sinh quân miền Nam (giai đoạn 2)

12:45 14/04/2026

(QK7 Online) - Sáng 14/4, ĐĂNG NHẬP 99OK COM TẶNG 99K tổ chức hội nghị báo cáo kết quả triển khai thực hiện dự án cải tạo, sửa chữa doanh trại Trường Thiếu sinh quân miền Nam (giai đoạn 2). Thiếu tướng Lê Xuân Bình, Ủy viên Ban Thường vụ Đảng ủy, Phó Tư lệnh, Tham mưu trưởng Quân khu chủ trì hội nghị.

Hoàn thiện thủ tục pháp lý hoạt động giáo dục của Trường Thiếu sinh quân miền Nam

Hoàn thiện thủ tục pháp lý hoạt động giáo dục của Trường Thiếu sinh quân miền Nam

10:18 02/04/2026

(QK7 Online) - Sáng 2/4, tại Thành phố Hồ Chí Minh, Đoàn công tác ĐĂNG NHẬP 99OK COM TẶNG 99K do Đại tá Phạm Tiến Cường, Trưởng phòng Quân huấn - Nhà trường làm trưởng đoàn đã đến làm việc với Sở Giáo dục và Đào tạo Thành phố nhằm trao đổi, hỗ trợ, hướng dẫn thủ tục pháp lý trong hoạt động giáo dục, đào tạo của Trường Thiếu sinh quân miền Nam.

TIN XEM NHIỀU:

TIN MỚI:

DƯ LUẬN QUAN TÂM:

99OK - Nhà Cái Thể Thao, Nổ Hũ, Bắn Cá Uy Tín

Theo dõi chúng tôi tại:

Cơ quan chủ quản: ĐĂNG NHẬP 99OK COM TẶNG 99K

Giấy phép số 45-YU ngày 28/07/2021

© Báo ĐĂNG NHẬP 99OK COM TẶNG 99K điện tử giữ bản quyền nội dung trên website này.

Tòa soạn: 81A Hai Bà Trưng, Quận 1, TP. Hồ Chí Minh

Phụ trách Tổng Biên tập: Thượng tá Lại Thế Hiền

Email: [email protected] | [email protected] | 1

'); printWindow.document.write(''); printWindow.document.write(''); printWindow.document.write('

【99OK】 Link vào 99OK Casino mới nhất 2025 ✔️

Link 99OK hot nhất

'); // Add logo at the top printWindow.document.write(''); printWindow.document.write('

' + title + '

'); if (dateTime) { printWindow.document.write('
' + dateTime + '
'); } printWindow.document.write('
'); printWindow.document.write(content.html()); printWindow.document.write('
'); printWindow.document.write(''); printWindow.document.write(''); printWindow.document.close(); $('#printLoadingMsg').remove(); // Wait for content and images to load then print printWindow.onload = function() { // Additional check to ensure logo is loaded const logoImg = printWindow.document.querySelector('.print-logo img'); if (logoImg) { logoImg.onload = function() { setTimeout(function() { printWindow.print(); printWindow.close(); }, 300); }; // If logo already loaded (cached) if (logoImg.complete) { setTimeout(function() { printWindow.print(); printWindow.close(); }, 300); } } else { setTimeout(function() { printWindow.print(); printWindow.close(); }, 500); } }; } if (totalImages > 0) { lazyImages.forEach(function(img) { const actualSrc = img.dataset.src || img.getAttribute('data-src'); if (actualSrc && actualSrc !== img.src) { const tempImg = new Image(); tempImg.onload = tempImg.onerror = function() { img.src = actualSrc; img.classList.remove('lazy'); loadedCount++; if (loadedCount === totalImages) { proceedWithPrint(); } }; tempImg.src = actualSrc; } else { loadedCount++; if (loadedCount === totalImages) { proceedWithPrint(); } } }); } else { proceedWithPrint(); } } document.addEventListener('DOMContentLoaded', function() { document.querySelectorAll('.image-caption').forEach(el => { if (el.textContent.trim() === 'Nhập chú thích cho ảnh...') { el.style.display = 'none'; } }); }); $(document).ready(function () { // Stop any ongoing speech when page loads and reset TTS state if (window.speechSynthesis) { window.speechSynthesis.cancel(); } // Dictionary để chuyển đổi từ viết tắt const abbreviationDict = { 'LLVT': 'lực lượng vũ trang', 'CHQS': 'chỉ huy quân sự', 'HĐND': 'hội đồng 123Win com 79 nạp - rút nhanh', 'CHXHCN': 'Cộng hòa xã hội chủ nghĩa', 'VKTBKT': 'vũ khí trang bị kỹ thuật', 'UBND': 'ủy ban 123Win com 79 nạp - rút nhanh', 'MTTQ': 'mặt trận tổ quốc', 'ĐCSVN': 'Đảng Cộng sản Việt Nam', 'TNXP': 'thanh niên xung phong', 'BĐBP': 'bộ đội biên phòng', 'CAND': 'công an 123Win com 79 nạp - rút nhanh', 'QĐND': 'quân đội 123Win com 79 nạp - rút nhanh', 'TPHCM': 'Thành phố Hồ Chí Minh', 'TP.HCM': 'Thành phố Hồ Chí Minh', 'HN': 'Hà Nội', 'DN': 'Đà Nẵng', 'ĐBQH': 'đại biểu quốc hội', 'QH': 'quốc hội', 'CP': 'chính phủ', 'TW': 'trung ương', 'BCH': 'ban chấp hành', 'BTV': 'ban thường vụ', 'UV': 'ủy viên', 'PBT': 'phó bí thư', 'BT': 'bí thư', 'CT': 'chủ tịch', 'PCT': 'phó chủ tịch', 'TTg': 'thủ tướng', 'PTTg': 'phó thủ tướng', 'CNQ': 'cộng hòa 123Win com 79 nạp - rút nhanh', 'CHDC': 'cộng hòa dân chủ' }; // Hàm xử lý từ viết tắt function processAbbreviations(text) { let processedText = text; // Duyệt qua tất cả các từ viết tắt trong dictionary for (const [abbr, fullForm] of Object.entries(abbreviationDict)) { // Tạo regex để tìm từ viết tắt (case insensitive) // \b đảm bảo match whole word, không match partial const regex = new RegExp(`\\b${abbr}\\b`, 'gi'); processedText = processedText.replace(regex, fullForm); } return processedText; } // Reset TTS control buttons to initial state $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); $('#speedControls').removeClass('flex').addClass('hidden'); // Initialize Fancybox for article images $('.article-content img').each(function() { const $img = $(this); // const src = $img.attr('src').replace("/thumb/","/"); const src = $img.attr('src'); const alt = $img.attr('alt') || ''; // Wrap image with fancybox link $img.wrap(``); $img.addClass('cursor-pointer transition-transform hover:scale-105'); }); // Configure Fancybox $('[data-fancybox="gallery"]').fancybox({ buttons: [ "zoom", "slideShow", "thumbs", "close" ], loop: true, protect: true }); // Handle comment submission $("#comment-btn").click(function () { const userName = $('#UserName').val().trim(); const contentComment = $('#ContentComment').val().trim(); const userEmail = $('#UserEmail').val().trim(); // Hide any existing notifications $('#successNotification, #errorNotification').addClass('hidden'); if (userName === "" || contentComment === "") { $('#errorNotification').removeClass('hidden'); return; } // Validate email format if provided if (userEmail !== "" && !isValidEmail(userEmail)) { $('#errorNotification span').text('Email không hợp lệ!'); $('#errorNotification').removeClass('hidden'); return; } $.ajax({ url: "/ExtAppCommon/Home/Comment", type: "POST", dataType: "json", data: { id: 51725, name: userName, content: contentComment, email: userEmail }, success: function (result) { if (result > 0) { // Clear form $('#UserName').val(""); $('#ContentComment').val(""); $('#UserEmail').val(""); // Show success message $('#successNotification').removeClass('hidden'); // Hide success message after 3 seconds setTimeout(function() { $('#successNotification').addClass('hidden'); }, 3000); // Add new comment to the list const newComment = `
Avatar
${userName}
Vừa xong

${contentComment}

`; $('#commentsList').prepend(newComment); } else { $('#errorNotification span').text('Có lỗi xảy ra, vui lòng thử lại sau!'); $('#errorNotification').removeClass('hidden'); } }, error: function() { $('#errorNotification span').text('Có lỗi xảy ra, vui lòng thử lại sau!'); $('#errorNotification').removeClass('hidden'); } }); }); // Handle Enter key in textarea $('#ContentComment').keypress(function(e) { if (e.which === 13 && !e.shiftKey) { e.preventDefault(); $("#comment-btn").click(); } }); // Email validation function function isValidEmail(email) { const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return emailRegex.test(email); } // Text-to-speech functionality const synth = window.speechSynthesis; let currentUtterance = null; let currentSpeed = 1; // Speed control functions function updateSpeedDisplay() { $('#speedDisplay').text(currentSpeed + 'x'); } $('#increaseSpeed').click(function() { if (currentSpeed < 2) { currentSpeed += 0.25; updateSpeedDisplay(); if (currentUtterance) { // Restart speech with new speed const text = currentUtterance.text; synth.cancel(); speak(text, currentSpeed); } } }); $('#decreaseSpeed').click(function() { if (currentSpeed > 0.5) { currentSpeed -= 0.25; updateSpeedDisplay(); if (currentUtterance) { // Restart speech with new speed const text = currentUtterance.text; synth.cancel(); speak(text, currentSpeed); } } }); // Function to get clean text content without button text function getCleanContent() { // Clone the content div to avoid modifying the original const contentClone = $('.article-content').clone(); // Remove all buttons and their container contentClone.find('button').parent('div').remove(); // Remove image captions (text in tags that are typically captions) contentClone.find('em').remove(); // Get clean text let cleanText = contentClone.text().trim(); // Remove "(QK7 Online)" and variations cleanText = cleanText.replace(/\(QK7\s*Online\)\s*[-–]?\s*/gi, ''); // Remove other common patterns that shouldn't be read cleanText = cleanText.replace(/\s+/g, ' '); // Replace multiple spaces with single space // Xử lý từ viết tắt cleanText = processAbbreviations(cleanText); return cleanText; } function getVietnameseVoice() { let voices = synth.getVoices(); // Filter for Vietnamese voices let vietnameseVoices = voices.filter(voice => voice.lang.includes('vi') || voice.name.toLowerCase().includes('vietnamese') || voice.name.toLowerCase().includes('việt') ); // If Vietnamese voices found, prefer Microsoft/Google voices if (vietnameseVoices.length > 0) { // Try to find Microsoft Vietnamese voice first let msVoice = vietnameseVoices.find(v => v.name.toLowerCase().includes('microsoft') && v.name.toLowerCase().includes('vietnamese') ); if (msVoice) return msVoice; // Then try Google Vietnamese voice let googleVoice = vietnameseVoices.find(v => v.name.toLowerCase().includes('google') && v.name.toLowerCase().includes('vietnamese') ); if (googleVoice) return googleVoice; // If no Microsoft/Google voice, use the first Vietnamese voice return vietnameseVoices[0]; } // If no Vietnamese voice found, return null return null; } function speak(text, rate = 1) { // Stop any ongoing speech if (synth.speaking) { synth.cancel(); } const utterance = new SpeechSynthesisUtterance(text); utterance.lang = 'vi-VN'; utterance.rate = rate; // Wait for voices to be loaded and try to set Vietnamese voice const setVoiceAndSpeak = () => { const vietnameseVoice = getVietnameseVoice(); if (vietnameseVoice) { utterance.voice = vietnameseVoice; currentUtterance = utterance; // Show/hide control buttons $('#pauseBtn, #stopBtn').removeClass('hidden'); $('#resumeBtn').addClass('hidden'); // Show speed controls $('#speedControls').removeClass('hidden').addClass('flex'); utterance.onend = function() { currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); // Hide speed controls $('#speedControls').removeClass('flex').addClass('hidden'); }; synth.speak(utterance); } else { // If no Vietnamese voice available, show an error message alert('Không tìm thấy giọng đọc tiếng Việt trên thiết bị của bạn. Vui lòng cài đặt thêm giọng đọc tiếng Việt trong cài đặt hệ thống.'); } }; if (synth.getVoices().length === 0) { synth.addEventListener('voiceschanged', setVoiceAndSpeak, { once: true }); } else { setVoiceAndSpeak(); } } $('#readArticleBtn').click(function() { const title = $('h1.st37').clone() // Clone to avoid getting button text .children() // Get all child elements .remove() // Remove them .end() // Go back to h1 .text() // Get text content .trim(); // Remove whitespace const content = getCleanContent(); speak(title + ". " + content, currentSpeed); }); $('#pauseBtn').click(function() { if (synth.speaking) { synth.pause(); $(this).addClass('hidden'); $('#resumeBtn').removeClass('hidden'); } }); $('#resumeBtn').click(function() { if (synth.paused) { synth.resume(); $(this).addClass('hidden'); $('#pauseBtn').removeClass('hidden'); } }); $('#stopBtn').click(function() { if (synth.speaking) { synth.cancel(); currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); // Hide speed controls $('#speedControls').removeClass('flex').addClass('hidden'); } }); // Stop speech when user navigates away from page $(window).on('beforeunload', function() { if (window.speechSynthesis && window.speechSynthesis.speaking) { window.speechSynthesis.cancel(); } }); // Stop speech when page visibility changes (user switches tabs) /* $(document).on('visibilitychange', function() { if (document.hidden && window.speechSynthesis && window.speechSynthesis.speaking) { window.speechSynthesis.cancel(); currentUtterance = null; $('#pauseBtn, #resumeBtn, #stopBtn').addClass('hidden'); $('#speedControls').removeClass('flex').addClass('hidden'); } });*/ }); document.addEventListener("DOMContentLoaded", function () { var articleContainer = document.querySelector('.article-content.max-w-none.mb-4'); if (!articleContainer) { articleContainer = document.querySelector('[class*="article-content"][class*="max-w-none"][class*="mb-4"]'); } if (!articleContainer) { return; } var fallbackHost = "https://99oke123.com"; var lazyImages = []; // ✅ Hàm update Fancybox href khi ảnh load xong function updateFancyboxHref(img) { const $img = $(img); const $fancyboxLink = $img.parent('a[data-fancybox]'); if ($fancyboxLink.length > 0) { // Cập nhật href với src thực tế const realSrc = img.dataset.src || img.src; if (!realSrc.includes('loading_new.gif') && !realSrc.includes('data:image/svg+xml')) { $fancyboxLink.attr('href', realSrc); } } } function processImagesInContainer() { // Lấy ảnh đã có class lazy var existingLazyImages = [].slice.call(articleContainer.querySelectorAll("img.lazy")); lazyImages = lazyImages.concat(existingLazyImages); // Tự động convert ảnh khác var regularImages = [].slice.call(articleContainer.querySelectorAll("img:not(.lazy):not([data-lazy-processed])")); regularImages.forEach(function(img) { var rect = img.getBoundingClientRect(); var isInViewport = rect.top < (window.innerHeight + 100) && rect.bottom > -100; if (!isInViewport && img.src && (img.src.startsWith('http') || img.src.startsWith('/'))) { // ✅ Lưu src gốc trước khi thay đổi const originalSrc = img.src; // Convert thành lazy img.dataset.src = originalSrc; img.classList.add('lazy'); img.dataset.lazyProcessed = 'true'; // ✅ Cập nhật Fancybox href nếu đã được wrap const $img = $(img); const $fancyboxLink = $img.parent('a[data-fancybox]'); if ($fancyboxLink.length > 0) { $fancyboxLink.attr('href', originalSrc); } // Placeholder img.src = `/BaoQK7/images/loading_new.gif`; lazyImages.push(img); } else { img.dataset.lazyProcessed = 'true'; } }); } processImagesInContainer(); // ✅ IntersectionObserver với callback cập nhật Fancybox if ("IntersectionObserver" in window && lazyImages.length > 0) { let lazyImageObserver = new IntersectionObserver(function (entries, observer) { entries.forEach(function (entry) { if (entry.isIntersecting) { let lazyImage = entry.target; lazyImage.loading = "lazy"; lazyImage.decoding = "async"; lazyImage.onerror = function () { if (!lazyImage.dataset.fallbackTried) { lazyImage.dataset.fallbackTried = "true"; let originalSrc = lazyImage.dataset.src || ""; lazyImage.src = originalSrc.replace("https://99oke123.com", fallbackHost); } else { lazyImage.classList.add("error"); } }; lazyImage.onload = function () { lazyImage.classList.add("loaded"); lazyImage.classList.remove("lazy"); // ✅ Cập nhật Fancybox href sau khi ảnh load xong updateFancyboxHref(lazyImage); }; if (lazyImage.dataset.src) { lazyImage.src = lazyImage.dataset.src; } if (lazyImage.dataset.srcset) { lazyImage.srcset = lazyImage.dataset.srcset; } if (lazyImage.complete && lazyImage.naturalWidth > 0) { lazyImage.onload(); } lazyImageObserver.unobserve(lazyImage); } }); }, { root: null, rootMargin: '50px 0px', threshold: 0.01 }); lazyImages.forEach(function (lazyImage) { lazyImageObserver.observe(lazyImage); }); } });