Links in Hotspots do not Open when tapped on Mobile Devices

Q&A about the latest versions
Post Reply
User avatar
JPasnikowski
Posts: 62
Joined: Fri Apr 22, 2016 10:42 am
Location: Newark, NY, USA
Contact:

I'm trying to build a snazzy website for myself all in pano2vr. I have my content in 5 panels that are hotspots. I feel I'm almost there, but I've hit a snag... the links in Contact Us and in Portfolio do not open up in a new window when tapped on mobile devices (I tested on 2 android devices & 1 ipad). They work perfectly correctly on a PC. If you tap-hold on a link on the mobile, you do get options for opening up in a new tab, so the links are recognized, they just can't be opened by single-tapping as one would expect.

Here's the p2vr file:
http://eyebulb.tours/new/eyebulbtours%2 ... %2001.p2vr

Here's the website so far:
http://eyebulb.tours/new/

Thank you for any help!
Image
Jason Pasnikowski
https://www.eyebulb.tours
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
Text links need a press and hold before they work.
Using iOS when you press and hold you will see a popup that will ask what you would like to do:
• New Mail Message
• Add to Contacts
• Copy Email
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
JPasnikowski
Posts: 62
Joined: Fri Apr 22, 2016 10:42 am
Location: Newark, NY, USA
Contact:

Is there a way for me to change this behavior? I think most people expect to be able to single tap links to open them. If it can't be changed, can you help me understand why it behaves this way? Thanks!
Image
Jason Pasnikowski
https://www.eyebulb.tours
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Sadly not, this is down to the device.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Klaus
Posts: 2
Joined: Fri Feb 16, 2018 5:03 pm

Sorry, to understand this, if I put <a href="#node6">node 6 link</a> within an info popup, i can't click it to go to the next node but would need to click -> hold -> then copy/paste it into another tab on mobile devices??

Why?

Shouldn't a link just single click?
It works on desktop like this.
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
We have no control how iOS will open a text link.
Attached is a project that has two links, on a computer the links will open with same page or new page depending on which one you select.
I seem to remember at one point press and hold opened the page.
The links in the skin have the required code to open the page in whichever window you want the viewer to see but iOS ignores this.
Now when press and hold you get further options!
Regards,
Hopki
Attachments
link.zip
(11.94 KiB) Downloaded 109 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Klaus
Posts: 2
Joined: Fri Feb 16, 2018 5:03 pm

Hi Hopki,

Thanks for the explanation.

Just for my own sanity i went through your minimized js for pano2vr_player.js and removed the a.preventDefault()'s up to line 307 and although I can't say which one it is, it does fix the single click linking on mobile. So it appears that within that js file, the link is being intercepted via javascript which is why mobile isn't allowing it to be single clicked.

So far, it didn't seem to effect my tour be removing those a.preventDefault() but would it be possible for you to have a quick glance to see if this can updated in your source without blowing anything up? I'm not sure what all would be affected by removing the proper preventDefault. Thanks.
User avatar
JPasnikowski
Posts: 62
Joined: Fri Apr 22, 2016 10:42 am
Location: Newark, NY, USA
Contact:

It's good to know that it's not a limitation of the mobile devices themselves but how pano2vr interfaces with mobile devices. Hopefully we'll hear back on a more certain way to adjust for this.
Image
Jason Pasnikowski
https://www.eyebulb.tours
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Giys,
Now opens with a single tap in V6 8)
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply