diff --git a/css/browsingldc.css b/css/browsingldc.css index 8c1fdbb..0ebd890 100644 --- a/css/browsingldc.css +++ b/css/browsingldc.css @@ -278,20 +278,3 @@ p{ border: 1px solid white; } -/* Autocomplete */ - -#aco { - border: 1px dotted #ccc; - padding: 3px; -} -#aco ul { - list-style-type: none; - padding: 0; - margin: 0; -} -#aco ul li { - padding: 5px 0; -} -#aco ul li:hover { - background: #eee; -} diff --git a/js/cesareBrowse.js b/js/cesareBrowse.js index ae6ee2c..f289d1f 100644 --- a/js/cesareBrowse.js +++ b/js/cesareBrowse.js @@ -175,9 +175,6 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { function showMinimap(element) { - - - minimap.className = 'minimap_container' minimapSize.className = 'minimap_size' @@ -190,7 +187,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { document.body.appendChild(minimap) let html = document.getElementById(element).innerHTML - //console.log(html) + console.log(html) let iFrameDoc = minimapContent.contentWindow.document; iFrameDoc.open(); @@ -314,7 +311,8 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { licanto.attr('name', cantica + canto) licanto.attr('href', "#") licanto.attr("style", "line-height: 1.2em") - licanto.append(canto) + numcanto=canto.split(" ")[1] + licanto.append(numcanto) //licanto.appendTo('#listacanti') licanto.appendTo(divListaCanti) @@ -335,17 +333,6 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { var elementoverso = $('
') vartestoverso=verso.numverso; elementoverso.append(verso.numverso + ". ") - /*arrayVerso=managePunctuation(verso.verso).split(" "); - - for (wpos in arrayVerso){ - var divoccorrenza=$('') - var pos=parseInt(verso.from)+parseInt(wpos) - divoccorrenza.attr('id', verso.cantica+"_"+ verso.canto.replace(" ", "_")+"_"+verso.numverso+"_"+pos) - divoccorrenza.append(arrayVerso[wpos]) - - divoccorrenza.appendTo(elementoverso) - elementoverso.append(' ') - }*/ //elementoverso.append(verso.numverso + ". " + managePunctuation(verso.verso)) elementoverso.attr("style", "line-height: 0.5em") elementoverso.attr('class', 'f6 font-weight-lighter') @@ -398,7 +385,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) { listarisultativersi = Array.from(resultVersi) for (verso of listarisultativersi){ idverso='#'+verso - console.log(idverso) + //console.log(idverso) $(idverso).attr('class', "f6 b dark-blue ") }