URL does not open in the iframe on ios
- Hopki
- Gnome
- Posts: 13017
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi,
By default, the web component opens a new page for Touch Screen devices.
The reason for this is that many use this component to open PDFs and iOS does not scroll PDF's in an iframe so to stop all the questions we set it so that all Touch Screen devices open a new page.
This is also true for the packaged default _v6 skins.
If you add a Web Component to a skin, select the Hotspot Template, ht_node.
Then look at the first action, it has an action filter with Has Touch, remove that line so it only shows *Opt_url.
Do the same for the other two actions.
This will now open an iframe in a mobile.
By default, the web component opens a new page for Touch Screen devices.
The reason for this is that many use this component to open PDFs and iOS does not scroll PDF's in an iframe so to stop all the questions we set it so that all Touch Screen devices open a new page.
This is also true for the packaged default _v6 skins.
If you add a Web Component to a skin, select the Hotspot Template, ht_node.
Then look at the first action, it has an action filter with Has Touch, remove that line so it only shows *Opt_url.
Do the same for the other two actions.
This will now open an iframe in a mobile.
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/
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/
I was one step ahead of you and spotted this in the skin.
The URLs that open in iframes fine within Chrome (ios) open in new tabs in Safari on iOS. This could potentially be an issue with PDF files and security. There's also some cross-domain links that work ok on desktop but maybe not on Safari which is much stricter it seems.
The URLs that open in iframes fine within Chrome (ios) open in new tabs in Safari on iOS. This could potentially be an issue with PDF files and security. There's also some cross-domain links that work ok on desktop but maybe not on Safari which is much stricter it seems.