Update funzioni.php

upd
This commit is contained in:
Daniel Intrieri 2024-02-15 09:36:15 +01:00 committed by GitHub
parent 7c3bcad24b
commit 9caa955ccc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@ if ($controllo){
function generacssmodal (){ function generacssmodal (){
return '<style> return '<style>
.menu-pdf-container { .menu-pdf-container {
@ -107,6 +108,7 @@ margin-top:15px;
} }
.menu-modal { .menu-modal {
z-index:200;
display: none; display: none;
position: fixed; position: fixed;
top: 0; top: 0;
@ -409,7 +411,7 @@ function generahtmlmodalridotto($filepdf,$etichetta){
$urlcomp = site_url().'/wp-content/plugins/'.$ultimacartella.'/'; $urlcomp = site_url().'/wp-content/plugins/'.$ultimacartella.'/';
return ' return '
<div style="z-index:5000;"> <div>
<div style="text-align:center;margin-bottom:12px;"><a style="font-size:20px;text-transform: uppercase;cursor: pointer;" onclick="openModal()">'.$etichetta.'</a></div> <div style="text-align:center;margin-bottom:12px;"><a style="font-size:20px;text-transform: uppercase;cursor: pointer;" onclick="openModal()">'.$etichetta.'</a></div>
<!-- Modale PDF --> <!-- Modale PDF -->
<div style="background-color:white;" id="pdfModal" class="menu-modal" onscroll="stopScrollPropagation(event)"> <div style="background-color:white;" id="pdfModal" class="menu-modal" onscroll="stopScrollPropagation(event)">