How can I know the viewport in used ?

Q&A about the latest versions
Post Reply
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi to all,

After some search, I didn't find the answer to my question.

Here is the problem:
I have a text field which is to big on a desktop but too small on a mobile.
It is set with %

Question:
How can I retrieve the size of the viewport to be abble to say to my text field to adapt itself ?

Thanks in advance if you have an idea about that,
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi to all,

I answer to myself as I found the answer on this video from Hopki:
https://www.youtube.com/watch?v=D_2_u7WaVSY

So, I was able to configure my text fields according to the reader and it works very, very well!

Image

regards,
Attachments
Capture d'écran 2023-10-18 154735.png
Capture d'écran 2023-10-18 154735.png (69.3 KiB) Viewed 2697 times
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

I would have liked to introduce an else condition in this filter but I haven't found how to do it...
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

What would be your "else" condition?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi Tony,

It was to test the height of the player but finally, I found that I can use the keywords AND and OR after some tries in this ligical block :wink:

Have a nice day,
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Glad you managed to work it out. Pano2VR is very powerful and using logic blocks can create complex interactions between elements within your tour.

Check out some of my tutorials at https://tonyredhead.com/pano2vr

Cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
User avatar
dePassage66
Posts: 86
Joined: Mon Mar 20, 2023 11:19 am

Hi Tony,

I knew your web site but not this part of it !

Very interesting, thanks a lot.

Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
Post Reply