WebSite X5Help Center

 
Xavier GREGOIRE
Xavier GREGOIRE
User

Fenêtre contextuelle  fr

Autor: Xavier GREGOIRE
Visitado 923, Seguidores 1, Compartilhado 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 em
5 RESPOSTAS - 2 ÚTEIS - 1 CORRIGIR
 ‪ 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

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci,

KolAsim

Ler mais
Publicado em 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

Ler mais
Publicado em 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

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Xavier GREGOIRE
Xavier GREGOIRE
User
Autor

Merci!

Ler mais
Publicado em de Xavier GREGOIRE