【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

99Oke123 Tải ứng dụng > Tin tức

Thứ ba, 07/10/2025, 14:15 (GMT+7)
2752 lượt xem

Đại hội Phụ nữ cơ quan Sư đoàn 309 nhiệm kỳ 2025 - 2030 thành công tốt đẹp

(QK7 Online) - Ngày 7/10, Hội Phụ nữ cơ quan Sư đoàn 309 tổ chức Đại hội nhiệm kỳ 2025 – 2030. Dự đại hội có Đại tá Hồng Việt Bắc, Phó Chính ủy Sư đoàn.

Trong nhiệm kỳ 2020–2025, hoạt động của Hội Phụ nữ cơ quan Sư đoàn đã có nhiều chuyển biến tích cực, góp phần quan trọng vào việc xây dựng Sư đoàn vững mạnh toàn diện “mẫu mực, tiêu biểu”. Các phong trào thi đua được triển khai sâu rộng gắn với thực hiện nhiệm vụ chính trị. Nhiều tập thể, cá nhân được khen thưởng, tạo khí thế thi đua sôi nổi, khẳng định vai trò, vị thế và đóng góp của đội ngũ cán bộ, hội viên phụ nữ trong sự phát triển chung của Sư đoàn.
Đại tá Hồng Việt Bắc, Phó Chính ủy Sư đoàn ghi nhận, biểu dương những kết quả đạt được của Hội Phụ nữ cơ quan Sư đoàn trong thời gian qua.
Phát biểu tại đại hội, Đại tá Hồng Việt Bắc, Phó Chính ủy Sư đoàn ghi nhận, biểu dương những kết quả đạt được của Hội Phụ nữ cơ quan Sư đoàn trong nhiệm kỳ qua. Đồng thời nhấn mạnh, trong nhiệm kỳ tới, cán bộ, hội viên cần tiếp tục phát huy truyền thống “Bản lĩnh – Trí tuệ – Đảm đang – Nhân ái” của phụ nữ Quân đội, không ngừng học tập, rèn luyện, nâng cao trình độ, kỹ năng, ứng dụng hiệu quả chuyển đổi số vào công tác góp phần xây dựng Sư đoàn vững mạnh toàn diện “mẫu mực, tiêu biểu”.
Tại đại hội cán bộ, hội viên đã phát huy tinh thần dân chủ, trách nhiệm, đoàn kết và sáng tạo, thảo luận sôi nổi các nội dung văn kiện của cấp trên và báo cáo chính trị cấp mình; xác định rõ phương hướng, mục tiêu, nhiệm vụ trọng tâm. Đại hội bầu Ban chấp hành Hội Phụ nữ cơ quan Sư đoàn nhiệm kỳ mới, gồm những đồng chí tiêu biểu về năng lực, trách nhiệm và uy tín, đủ sức chỉ đạo phong trào thi đua và công tác Hội phát triển toàn diện.
Đồng chí Phó Chính ủy Sư đoàn 309 tặng hoa chúc mừng Ban chấp hành Hội Phụ nữ cơ quan Sư đoàn nhiệm kỳ mới.
Với kết quả và tinh thần của Đại hội, có thể khẳng định rằng phong trào thi đua và công tác Hội Phụ nữ cơ quan Sư đoàn đang bước vào giai đoạn phát triển mới - năng động hơn, sáng tạo hơn và giàu bản sắc quân nhân. Mỗi cán bộ, hội viên sẽ tiếp tục phát huy phẩm chất “Bộ đội Cụ Hồ”, rèn luyện bản lĩnh chính trị vững vàng, sống nhân ái, trách nhiệm, đoàn kết, giúp nhau cùng tiến bộ; xứng đáng là điểm tựa tin cậy, là hạt nhân lan tỏa những giá trị tốt đẹp trong cơ quan và đơn vị.
Đại tá Hồng Việt Bắc, Phó Chính ủy Sư đoàn tặng giấy khen cho các cá nhân đạt thành tích cao trong hoạt động của Hội.
Nguyễn Hùng
Sư đoàn 309 tự hào truyền thống Anh hùng

Sư đoàn 309 tự hào truyền thống Anh hùng

26/09/2025 20:47

(QK7 Online) – Ngày 27/9/2025 là dấu mốc lịch sử quan trọng trong chặng đường 47 năm xây dựng, chiến đấu và trưởng thành của Sư đoàn 309. Sư đoàn ngày càng phát triển, câu nói “Trồng rau trên đá, nuôi cá trên đồi” không còn là sự khó khăn, thiếu thốn, mà là niềm tự hào, lạc quan, yêu đời của cán bộ, 123Win com 79 casino, cá cược thể thao đến xổ số. Sư đoàn 309 - Đoàn Bắc Sơn Anh hùng đang không ngừng nỗ lực để xây dựng đơn vị ngày càng vững mạnh, nâng cao đời sống vật chất và tinh thần. Từ đó có thêm “nội lực” để đoàn kết, sáng tạo, viết tiếp truyền thống Anh hùng, hoàn thành xuất sắc mọi nhiệm vụ được giao.

Sư đoàn 309 hưởng ứng phong trào thi đua Chung tay xóa nhà tạm, nhà dột nát trên phạm vi cả nước năm 2025

Sư đoàn 309 hưởng ứng phong trào thi đua Chung tay xóa nhà tạm, nhà dột nát trên phạm vi cả nước năm 2025

06/08/2025 14:22

(QK7 Online) - Hưởng ứng phong trào thi đua Chung tay xóa nhà tạm, nhà dột nát trên phạm vi cả nước năm 2025, sáng ngày 6/8, Đảng ủy, Chỉ huy Sư đoàn 309 tổ chức Lễ khởi công xây dựng Nhà tình nghĩa quân - dân cho gia đình ông Nguyễn Văn Chánh, thuộc Tổ 66, KP. Tân Vạn 4, phường Biên Hòa, tỉnh Đồng Nai.

Bình luận

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

Tỉnh Lâm Đồng phát động làm trước lấy mẫu và bàn giao mẫu hài cốt liệt sĩ chưa xác định được thông tin

Tỉnh Lâm Đồng phát động làm trước lấy mẫu và bàn giao mẫu hài cốt liệt sĩ chưa xác định được thông tin

14:49 04/06/2026

(QK7 Online) – Sáng ngày 4/6, tại nghĩa trang liệt sĩ (NTLS) xã Đức Linh, Ban Chỉ đạo (BCĐ) 515 ĐĂNG NHẬP 99OK COM TẶNG 99K và tỉnh Lâm Đồng tổ chức phát động làm trước rút kinh nghiệm lấy mẫu, bàn giao mẫu hài cốt liệt sĩ (HCLS) đối với mộ chưa xác định được thông tin.

Thành phố Đồng Nai phát động làm trước lấy mẫu và bàn giao mẫu hài cốt liệt sĩ đối với mộ chưa xác định thông tin

Thành phố Đồng Nai phát động làm trước lấy mẫu và bàn giao mẫu hài cốt liệt sĩ đối với mộ chưa xác định thông tin

15:48 02/06/2026

(QK7 Online) – Sáng ngày 2/6, tại Nghĩa trang liệt sĩ (NTLS) Vĩnh Cửu, phường Trảng Dài, thành phố Đồng Nai, Ban Chỉ đạo (BCĐ) 515 ĐĂNG NHẬP 99OK COM TẶNG 99K và thành phố Đồng Nai tổ chức phát động làm trước rút kinh nghiệm lấy mẫu, bàn giao mẫu hài cốt liệt sĩ (HCLS) đối với mộ chưa xác định được thông tin.

Cục Chính trị Quân khu gặp mặt, tuyên dương các cháu thiếu niên, nhi đồng

Cục 99Oke123 Tải ứng dụng Quân khu gặp mặt, tuyên dương các cháu thiếu niên, nhi đồng

11:31 01/06/2026

(QK7 Online) – Nhân Ngày Quốc tế Thiếu nhi 1/6, Cục 99Oke123 Tải ứng dụng ĐĂNG NHẬP 99OK COM TẶNG 99K tổ chức chương trình gặp mặt, tuyên dương và tặng quà các cháu thiếu niên, nhi đồng là con cán bộ, nhân viên đang công tác tại các cơ quan, đơn vị thuộc Cục 99Oke123 Tải ứng dụng Quân khu. Thiếu tướng Trần Đức Thắng, Phó Chủ nhiệm 99Oke123 Tải ứng dụng Quân khu dự chương trình.

Cục Chính trị Quân khu 7 kiểm tra công tác Đảng, công tác chính trị tại Bộ Tư lệnh Thành phố Hồ Chí Minh

Cục 99Oke123 Tải ứng dụng ĐĂNG NHẬP 99OK COM TẶNG 99K kiểm tra công tác Đảng, công tác chính trị tại Bộ Tư lệnh Thành phố Hồ Chí Minh

19:16 29/05/2026

(QK7 Online) - Ngày 29/5, Đoàn công tác Cục 99Oke123 Tải ứng dụng ĐĂNG NHẬP 99OK COM TẶNG 99K do Đại tá Nguyễn Văn Lộc, Phó Chủ nhiệm 99Oke123 Tải ứng dụng Quân khu làm trưởng đoàn đến kiểm tra hoạt động công tác Đảng, công tác chính trị (CTĐ CTCT) 6 tháng đầu năm 2026 đối với Bộ Tư lệnh Thành phố Hồ Chí Minh.

Quân khu 7 tập huấn công tác dân số, gia đình và trẻ em

ĐĂNG NHẬP 99OK COM TẶNG 99K tập huấn công tác dân số, gia đình và trẻ em

11:52 29/05/2026

(QK7 Online) - Ngày 29/5, ĐĂNG NHẬP 99OK COM TẶNG 99K tổ chức tập huấn công tác dân số, gia đình và trẻ em; triển khai tháng hành động vì trẻ em và tháng hành động quốc gia phòng, chống bạo lực gia đình trong LLVT Quân khu năm 2026. Thiếu tướng Trần Chí Tâm, Ủy viên Ban Thường vụ, Phó Chính ủy Quân khu, Chủ tịch Ủy ban dân số, gia đình và trẻ em Quân khu dự, phát biểu giao nhiệm vụ cho lớp tập huấn.

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: 52778, 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); }); } });