Hello,
I just want the tour to be seen in landscape mode only. Forced with custom message in potrait.
Waiting...for help.
Best Regards
Hello,
I just want the tour to be seen in landscape mode only. Forced with custom message in potrait.
Waiting...for help.
Best Regards
Hi,
Guess you mean in mobile. You can use the ONRESIZE <event>, call/code there an action that compares STAGEHEIGHT with STAGEWIDTH (if(stageheight LT stageheight, ...) then you can specify it to vanish GUI and show a rotate icon layer when width is slower than height.
That should do it.
Best
Hi,
Guess you mean in mobile. You can use the ONRESIZE , call/code there an action that compares STAGEHEIGHT with STAGEWIDTH (if(stageheight LT stageheight, ...) then you can specify it to vanish GUI and show a rotate icon layer when width is slower than height.
That should do it.
Best
Really thanks for your reply.
I am pretty new to Krpano it be really helpfull if, you give complete exact code.
Thnaks in advance
Hi,
Guess you mean in mobile. You can use the ONRESIZE , call/code there an action that compares STAGEHEIGHT with STAGEWIDTH (if(stageheight LT stageheight, ...) then you can specify it to vanish GUI and show a rotate icon layer when width is slower than height.
That should do it.
Best
please help with code
Thanks in advance
Don’t have an account yet? Register yourself now and be a part of our community!