From 1161c95c63fef20d778adcea615e973caea275dd Mon Sep 17 00:00:00 2001 From: Shraddha <shraddharaghuram@student.tudelft.nl> Date: Wed, 21 Aug 2024 08:08:35 +0000 Subject: [PATCH] playing around with hover function --- wiki/menu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wiki/menu.html b/wiki/menu.html index 3a35a58..a79b4d4 100644 --- a/wiki/menu.html +++ b/wiki/menu.html @@ -136,7 +136,7 @@ for (i = 0; i < 7; i++){ items[i].children[0].style.color = "#62D881"; } - // el.children[0].style.color = "#185A4F"; + el.children[0].style.color = "#185A4F"; if (el.children.length > 1){ let son = el.children[1]; if (getComputedStyle(son,null)["display"]=="none"){ @@ -158,7 +158,7 @@ } function leave(el){ for (i = 0; i < 7; i++){ - items[i].children[0].style.color = "#185A4F"; + items[i].children[0].style.color = "#62D881"; } if (el.children.length > 1){ let son = el.children[1]; -- GitLab