From d2204fecd3e4a5ae629becfcc315c48511ad2cb3 Mon Sep 17 00:00:00 2001 From: Luca Trupiano Date: Thu, 16 Mar 2023 12:48:44 +0100 Subject: [PATCH] Fissato bug menu collapse da citazione --- index_4.2.html | 31 +++++++++++++++---------------- js/cesareBrowse.js | 1 + 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/index_4.2.html b/index_4.2.html index 5b9bd44..53c4ac8 100644 --- a/index_4.2.html +++ b/index_4.2.html @@ -35,7 +35,6 @@ src="https://hdnlab1.isti.cnr.it/d3search/node_modules/commarcdiag/d3.js"> - @@ -125,13 +124,13 @@
 
-
+
+ data-toggle="collapse" data-target="#collapseInferno" + aria-expanded="true" aria-controls="collapseInferno">Inferno
@@ -140,8 +139,8 @@
-
+
I @@ -215,13 +214,13 @@
-
+
+ data-toggle="collapse" data-target="#collapsePurgatorio" + aria-expanded="true" aria-controls="collapsePurgatorio">Purgatorio
@@ -229,8 +228,8 @@
-
+
I @@ -302,13 +301,13 @@
-
+
+ data-toggle="collapse" data-target="#collapseParadiso" + aria-expanded="true" aria-controls="collapseParadiso">Paradiso
@@ -316,8 +315,8 @@
-
+
I diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index 2c60fd2..0841c62 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -634,6 +634,7 @@ $(" ."+formaClass).hover(function(idx, element) { const callerid=$(this).attr('id'); if (callerid!=null && callerid.startsWith(idCitazione)){ const mypos=callerid.split('_')[2] + $("#collapse"+parcid[0].replace("Canto", "")).collapse('show'); document.getElementById(mypos).scrollIntoView(); }