Sie sind nicht angemeldet.

1

Donnerstag, 27. Mai 2021, 05:57

want the tour to be seen in landscape mode only

Hello,

I just want the tour to be seen in landscape mode only. Forced with custom message in potrait.

Waiting...for help.

Best Regards

Luis Erantzcani

Fortgeschrittener

Beiträge: 249

Wohnort: Mexico City

Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer

  • Nachricht senden

2

Sonntag, 30. Mai 2021, 03:34

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

3

Freitag, 4. Juni 2021, 19:27

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

4

Dienstag, 8. Juni 2021, 23:08

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