WebSite X5Help Center

 
Xavier GREGOIRE
Xavier GREGOIRE
User

Fenêtre contextuelle  fr

Autor: Xavier GREGOIRE
Visitado 925, Followers 1, Compartido 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

Publicado en
5 RESPUESTAS - 2 úTIL - 1 CORRECTO
 ‪ 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci,

KolAsim

Leer más
Publicado en de 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

Leer más
Publicado en de 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

.

Leer más
Publicado en de  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci!

Leer más
Publicado en de Xavier GREGOIRE