From 74c79b678cb294ff0a803158cc8f58c4bb1f37c1 Mon Sep 17 00:00:00 2001 From: marsalva Date: Sun, 29 Mar 2026 08:58:09 +0000 Subject: [PATCH] Actualizar index2.html --- index2.html | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/index2.html b/index2.html index 079fe45..49ef804 100644 --- a/index2.html +++ b/index2.html @@ -98,11 +98,17 @@ @@ -226,6 +232,21 @@ } // --- SISTEMA DE PESTAÑAS --- + function toggleHistory() { + const container = document.getElementById('historyServicesContainer'); + const chevron = document.getElementById('historyChevron'); + + if (container.classList.contains('hidden')) { + container.classList.remove('hidden'); + container.classList.add('fade-in'); + chevron.classList.add('rotate-180'); + } else { + container.classList.add('hidden'); + container.classList.remove('fade-in'); + chevron.classList.remove('rotate-180'); + } + } + function switchTab(tabName) { document.querySelectorAll('.tab-content').forEach(el => el.classList.remove('active')); document.querySelectorAll('.nav-btn').forEach(el => el.classList.remove('active'));