html modificato per gestione minimap

This commit is contained in:
cesare 2022-11-18 17:26:12 +01:00
parent 4633e31863
commit 1920c1f594
2 changed files with 31 additions and 20 deletions

View File

@ -627,32 +627,43 @@
</div> </div>
<div class="col-5 pa0 pl6 " id="browseArea"> <!-- <div class="col-5 pa0 pl6 " id="browseArea">
<!-- <div class="bg-washed-blue"> --> <div class="bg-washed-blue">
<!-- <div class="availability f3 b labelCantica" style="display: none;"> <div class="availability f3 b labelCantica" style="display: none;">
<span>Inferno</span> <span>Inferno</span>
</div> --> </div>
<!--<div <div
class="measure f6 lh-copy text-secondary font-weight-lighter labelCanto"> class="measure f6 lh-copy text-secondary font-weight-lighter labelCanto">
<span>Canto I</span> <span>Canto I</span>
</div> --> </div>
<!-- <form id='filterform' onsubmit="return false;"> --> <form id='filterform' onsubmit="return false;">
<!-- <textarea id="displaycanto" name="PagineCanti" readonly <textarea id="displaycanto" name="PagineCanti" readonly
style="resize: none" class="blog-main flex mb0 pb0 bg-washed-blue bn" style="resize: none" class="blog-main flex mb0 pb0 bg-washed-blue bn"
rows="20" cols="35"></textarea> --> rows="20" cols="35"></textarea>
<div class=" blog-main overflow-auto border text-muted" target='area' id="displaycanto" style='max-height: 600px'> <div class=" blog-main overflow-auto border text-muted" target='area' id="displaycanto" style='max-height: 600px'>
<!-- <div id="displaycanto" name="PagineCanti" class="blog-main flex mb0 pb0 bg-washed-blue bn"></div>--> <div id="displaycanto" name="PagineCanti" class="blog-main flex mb0 pb0 bg-washed-blue bn"></div>
<!-- </form> --> </form>
</div> </div>
<!-- </div> --> <div class="col-1 px-0" id="displayminimap"></div>
</div> </div>
<div class="col-2 pa0 pl6" id="shmm"> </div> -->
<div id="displayminimap"></div>
</div>
<div class="col-6 px-0">
<div class="blog-main p-3 text-muted overflow-auto" target="area" id="displaycanto" style="max-height: 500px"></div>
</div>
<div class="col-1 px-0" id="displayminimap"></div>
</div> </div>
<hr> <hr>

View File

@ -369,8 +369,8 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
viewer.style.width='40%' viewer.style.width='40%'
if(isnick!=null){ if(isnick!=null){
minimap.style.width = '70%'; //minimap.style.width = '90%';
viewer.style.width='20%' //viewer.style.width='20%'
} }
@ -545,7 +545,7 @@ jQuery(document).delegate('#cleanresult', 'click', function(e) {
var spanoccorrenza=$('<span />') var spanoccorrenza=$('<span />')
var pos=parseInt(element.pos) var pos=parseInt(element.pos)
spanoccorrenza.attr('id', element.cantica+"_"+ element.canto.replace(" ", "_")+"_"+element.numverso+"_"+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.attr('class', "f6 b dark-blue ")
spanoccorrenza.append(managePunctuation(element.form)) spanoccorrenza.append(managePunctuation(element.form))
elementoverso=$('#'+element.cantica+"_"+ element.canto.replace(" ", "_")+"_"+element.numverso) elementoverso=$('#'+element.cantica+"_"+ element.canto.replace(" ", "_")+"_"+element.numverso)