miglioramento nell'interazione

This commit is contained in:
nicola 2022-11-04 19:24:34 +01:00
parent 4fd23bc14b
commit 72a606f001
1 changed files with 24 additions and 2 deletions

View File

@ -1123,6 +1123,18 @@ $(document).ready(function() {
$('#apricerca').attr('style', "display:block;")
$('#advanSW').prop('checked',false)
$('#PagineCanti').highlightWithinTextarea('destroy');
$('#CantiInferno').empty()
$('#CantiPurgatorio').empty()
$('#CantiParadiso').empty()
CantiParadiso = false;
CantiInferno = false;
CantiPurgatorio = false;
return true
}
)
@ -1132,7 +1144,7 @@ $(document).ready(function() {
setTimeout(function() {
$("#loader").hide();
fakeResult();
}, 3000);
}, 2000);
}
)
@ -1140,7 +1152,8 @@ $(document).ready(function() {
e.preventDefault();
//var areaText = $('#PagineCanti');
$('#PagineCanti').highlightWithinTextarea({
highlight: 'paura'
highlight: 'paura',
className: 'red'
});
});
@ -1194,6 +1207,15 @@ $(document).ready(function() {
});
function fakeResult(){
$('#CantiInferno').empty()
$('#CantiPurgatorio').empty()
$('#CantiParadiso').empty()
CantiParadisoOpen = false;
CantiPurgatorioOpen = false;
CantiInfernoOpen = false;
tabellaCanti ="";
for (j=1;j<20;j++){