From 1920c1f594a96ef955b037e0a351aa94bb59a535 Mon Sep 17 00:00:00 2001 From: cesare Date: Fri, 18 Nov 2022 17:26:12 +0100 Subject: [PATCH] html modificato per gestione minimap --- NikBrowseSearchCombinedNew.html | 45 ++++++++++++++++++++------------- js/cesareBrowse.js | 6 ++--- 2 files changed, 31 insertions(+), 20 deletions(-) diff --git a/NikBrowseSearchCombinedNew.html b/NikBrowseSearchCombinedNew.html index d3ae5f4..c548c3c 100644 --- a/NikBrowseSearchCombinedNew.html +++ b/NikBrowseSearchCombinedNew.html @@ -627,32 +627,43 @@ -
- - - - - + rows="20" cols="35">
- +
- +
- -
-
- -
+
+
+ --> - + + +
+
+
+ +
+ + + + + + +
diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index b9e7ef1..ec25a9c 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -369,8 +369,8 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { viewer.style.width='40%' if(isnick!=null){ - minimap.style.width = '70%'; - viewer.style.width='20%' + //minimap.style.width = '90%'; + //viewer.style.width='20%' } @@ -545,7 +545,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { var spanoccorrenza=$('') var pos=parseInt(element.pos) spanoccorrenza.attr('id', element.cantica+"_"+ element.canto.replace(" ", "_")+"_"+element.numverso+"_"+pos) - if (listarisultati.includes(spanoccorrenza.attr('id'))) + if (listarisultati.length>0 && listarisultati.includes(spanoccorrenza.attr('id'))) spanoccorrenza.attr('class', "f6 b dark-blue ") spanoccorrenza.append(managePunctuation(element.form)) elementoverso=$('#'+element.cantica+"_"+ element.canto.replace(" ", "_")+"_"+element.numverso)