Redirect based on screen resolution and orientation
Posted: Wed Apr 28, 2021 9:35 pm
Dear Pablo,
First of all, thank you for designing such a great software, it is the best web editor I have used and I shall convince my school to purchase several versions for our school purposes.
I have designed a website where each page has 3 versions.
1) one version for screen width bigger than 1024 px (both portrait and landscape orientations)
2) one version for screen width smaller than 1024 px in portrait orientation
3) one version for screen width smaller than 1024 px in landscape mode
I read that you suggested this was an interesting option and that you advised to use the ready-to-use script for redirection based on screen resolutions. The script obviously works fine when the resolutions changes but I can't find a way to redirect based on the orientation of the screen as well.
I would be very grateful if you could help me find the way to do it. Many thanks
Pierrick
First of all, thank you for designing such a great software, it is the best web editor I have used and I shall convince my school to purchase several versions for our school purposes.
I have designed a website where each page has 3 versions.
1) one version for screen width bigger than 1024 px (both portrait and landscape orientations)
2) one version for screen width smaller than 1024 px in portrait orientation
3) one version for screen width smaller than 1024 px in landscape mode
I read that you suggested this was an interesting option and that you advised to use the ready-to-use script for redirection based on screen resolutions. The script obviously works fine when the resolutions changes but I can't find a way to redirect based on the orientation of the screen as well.
I would be very grateful if you could help me find the way to do it. Many thanks
Pierrick