WebSite X5Help Center

 
Xavier GREGOIRE
Xavier GREGOIRE
User

Fenêtre contextuelle  fr

Autor: Xavier GREGOIRE
Visited 929, Followers 1, Udostępniony 0  

Bonsoir,

Quelqu'un aurait-il une astuce pour adapter les dimensions de l'affichage du contenu d'une fenêtre contextuelle.

J'ouvre une page dans une fenêtre contextuelle, sur un PC, ok, mais sur une smartphone, la hauteur n'est pas adaptée ça serait intéressant d'adpater la hauteur automatique.

voir exemple www.assurances-bertelli.be (sélectionner "tarification")

Merci,

Xavier

Posted on the
5 ODPOWIEDZI - 2 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

(It > Fr) ... vous pouvez utiliser mon code EXTRA, pour> Étape 3 | Expert | Code personnalisé> 3ème option - Avant de fermer la balise /HEAD:

<style>@media (max-width: 599px) {
#imShowBox div, #imShowBox > div > iframe { width:100% !important;height:100% !important}
#imShowBox { width:100% !important;padding:0px !important;margin:0px !important;top:45px !important;left:0px !important;height:85% !important }}</style>

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci,

KolAsim

Czytaj więcej
Posted on the from Xavier GREGOIRE
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Hello KolAsim,

le code fonctionne mais les liens sur les boutons ou images ne sont plus actifs frown

Cordialement,

Xavier

Czytaj więcej
Posted on the from Xavier GREGOIRE
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... essayez ce changement:

<style>@media (max-width: 599px) {
#imShowBox div, #imShowBox > div > iframe { width:100% !important;height:100% !important;}
#imShowBox > div > iframe {z-index:1000000 !important}
#imShowBox { width:100% !important;padding:0px !important;margin:0px !important;top:45px !important;left:0px !important;height:85% !important }}</style>

.

ciao

.

Czytaj więcej
Posted on the from  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci!

Czytaj więcej
Posted on the from Xavier GREGOIRE