WebSite X5Help Center

 
Huveneers A.
Huveneers A.
User

Switch to Mobile or desktop website  en

Autore: Huveneers A.
Visite 1106, Followers 2, Condiviso 0  
Parole Chiave: android,ipad,layout,mobile,switch

Can you automatic select a different website depending of the browsing device? For example when an android brower connects to the website select the website with the mobile layout

Postato il
3 RISPOSTE - 1 CORRETTO
Samuel V.
Samuel V.
User

Hello,

You could do this using JavaScript. This one has to be inserted before the </head> tag.


EDIT: the script is in the text file attached as the editor replaces the content 



You could do the same using PHP or Apache redirects.

Hope this can help Smile

Leggi di più
Postato il da Samuel V.
Samuel V.
Samuel V.
User

The code

Leggi di più
Postato il da Samuel V.
Huveneers A.
Huveneers A.
User
Autore

Thanks for this info. I will try that

Leggi di più
Postato il da Huveneers A.