Logic Machine Forum
Rotation and auto vertical->horizontal change - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Rotation and auto vertical->horizontal change (/showthread.php?tid=269)



Rotation and auto vertical->horizontal change - buuuudzik - 09.04.2016

Is there any possibility to do the thing from the subject? When my client change the orientation of iPad is there a possibility to change the page to another one prepared especially for this orientation?


RE: Rotation and auto vertical->horizontal change - Erwin van der Zwart - 09.04.2016

Hi,

You can detect oriëntation with Javascript and use ShowPlan(plannumber); to switch to another page that holds the visu for the other resolution.

See the link for the correct event listener.

http://www.williammalone.com/articles/html5-javascript-ios-orientation/

BR,

Erwin van der Zwart


RE: Rotation and auto vertical->horizontal change - buuuudzik - 09.04.2016

(09.04.2016, 17:06)Erwin van der Zwart Wrote: Hi,

You can detect oriëntation with Javascript and use ShowPlan(plannumber); to switch to another page that holds the visu for the other resolution.

See the link for the correct event listener.

http://www.williammalone.com/articles/html5-javascript-ios-orientation/

BR,

Erwin van der Zwart

Thanks, I will tryWink