update v1.1

This commit is contained in:
2025-05-03 23:33:02 +00:00
parent 3afa5e666b
commit 635d1a4ce1
7 changed files with 1069 additions and 24 deletions

View File

@@ -127,27 +127,6 @@ function initProductDetails() {
});
}
// Show product details modal
function showProductDetails(pageNum) {
const details = productDetails[pageNum];
if (details) {
document.getElementById('modalTitle').textContent = details.title;
document.getElementById('modalDescription').textContent = details.description;
document.getElementById('productModal').classList.add('show');
}
}
function hideProductDetails() {
document.getElementById('productModal').classList.remove('show');
}
// Close modal when clicking outside
document.getElementById('productModal').addEventListener('click', function(e) {
if (e.target === this) {
hideProductDetails();
}
});
// Initialize
initProductDetails();
// Product details functionality moved to products.html
// This file only handles flipbook navigation
updatePages();