符文诅咒 v1.1.6 硬核动作游戏 中文版在《符文诅咒》中一群旅行者偶然发现了公海上的暴风雨,遇难船难。阿德里安(Adrian)是这个装备的成员,他在一个不知名的岛屿上生活,在那里发生了所谓的“战争诅咒”。阿德里安将不得不在这个岛上发现他的船员发生了什么,他的命运很糟糕。




const modal = document.getElementById(‘imageModal’);
const closeModal = document.getElementById(‘closeModal’);
const enlargedImg = document.getElementById(‘enlargedImg’);
const thumbnails = document.querySelectorAll(‘.img-thumbnail’);
thumbnails.forEach(thumbnail => {
thumbnail.addEventListener(‘click’, () => {
modal.classList.remove(‘hidden’);
enlargedImg.src = thumbnail.src;
enlargedImg.alt = thumbnail.alt;
document.body.style.overflow = ‘hidden’;
});
});
closeModal.addEventListener(‘click’, () => {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
});
modal.addEventListener(‘click’, (e) => {
if (e.target === modal) {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
}
});
document.addEventListener(‘keydown’, (e) => {
if (e.key === ‘Escape’ && !modal.classList.contains(‘hidden’)) {
modal.classList.add(‘hidden’);
document.body.style.overflow = ‘auto’;
}
});
