corretti bug minimap e bug background
This commit is contained in:
parent
32c0b4b9a6
commit
654ce9b32d
|
@ -427,7 +427,7 @@
|
|||
|
||||
<div id="colMinimap" class="d-table-cell bg-lida-vis minimap border-right border-bottom align-top">
|
||||
<div id="displayminimap" class="col px-0 pb-0 m-0 w-100 scrollMon"></div>
|
||||
<div class="filler"><img src="./images/fefeff.png"></div>
|
||||
<div class="filler"><img id="bgImg" src="./images/fefeff.png"></div>
|
||||
</div>
|
||||
|
||||
<div id="colRicerca" class="d-table-cell menuRicerca align-top">
|
||||
|
|
|
@ -39,7 +39,8 @@ function drawMinimap(name){
|
|||
|
||||
if (currentMinimap == '#vistaFrasi') {
|
||||
correctionFactor = 0.967;
|
||||
scrollCorrectionFactor = 1.02;
|
||||
//scrollCorrectionFactor = 1.02;
|
||||
scrollCorrectionFactor = 1;
|
||||
} else {
|
||||
correctionFactor = 1;
|
||||
scrollCorrectionFactor = 1.003;
|
||||
|
@ -106,6 +107,7 @@ function showMinimap() {
|
|||
iFrameDoc.head.appendChild(cssLinkscroll);
|
||||
|
||||
let bgCanto = $(visCantoClass).css('background-color');
|
||||
console.log(bgCanto);
|
||||
$('iframe').contents().find('body').css('background-color', bgCanto + ' !important;');
|
||||
|
||||
var infoHeightToSet = $("body")[0].clientHeight*cssTableMainHeight - $(visCantoClass)[0].clientHeight-2-63-2
|
||||
|
|
|
@ -21,10 +21,13 @@ $(document).ready(function() {
|
|||
$('.stileLink').on('click', function() {
|
||||
var newStyle = $(this)[0].id;
|
||||
if (newStyle != currStyle) {
|
||||
var bgImgEl = document.createElement("IMG");
|
||||
bgImgEl.id = "bgImg";
|
||||
currStyle = newStyle;
|
||||
switch (newStyle) {
|
||||
case "style1":
|
||||
$("body").fadeOut(700, function() {
|
||||
bgImgEl.src = bgImgUrl1;
|
||||
$("#style1-Boot").prop('disabled', false);
|
||||
$("#style1-Custom").prop('disabled', false);
|
||||
$("#style2-Boot").prop('disabled', true);
|
||||
|
@ -34,6 +37,7 @@ $(document).ready(function() {
|
|||
break;
|
||||
case "style2":
|
||||
$("body").fadeOut(700, function() {
|
||||
bgImgEl.src = bgImgUrl2;
|
||||
$("#style2-Boot").prop('disabled', false);
|
||||
$("#style2-Custom").prop('disabled', false);
|
||||
$("#style1-Boot").prop('disabled', true);
|
||||
|
@ -43,6 +47,7 @@ $(document).ready(function() {
|
|||
break;
|
||||
default:
|
||||
};
|
||||
$('#bgImg').replaceWith(bgImgEl);
|
||||
drawMinimap(currentMinimap);
|
||||
}
|
||||
});
|
||||
|
@ -536,7 +541,9 @@ $(document).ready(function() {
|
|||
const condLIplaceholderText2d = 'Trascina qui almeno 2 clausole o condizioni, oppure attiva le clausole inattive';
|
||||
const condLIplaceholderPart1 = '<li id="placeholderSort';
|
||||
const condLIplaceholderPart2 = '" class="mx-0 my-1 p-1 pl-3 list-group-item align-items-center border text-muted small bg-light ui-state-disabled ui-state-disabled-opacity-06">';
|
||||
|
||||
const bgImgUrl1 = "./images/fefeff.png";
|
||||
const bgImgUrl2 = "./images/f8f9fa.png";
|
||||
|
||||
// Variabili e costanti funzionali
|
||||
var tabID = 0;
|
||||
var claListLen = 0;
|
||||
|
|
Loading…
Reference in New Issue