iframe and forms - any problems? (generally)

Q&A about the latest versions
Post Reply
User avatar
soulbrother
Posts: 545
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Hi all,
I just got a request from a client:

Is it possible to show a html site with an iframe in the panorama?
-- my answer: yes, shure

Client: And is it possible to show a site with forms, like contact-form and other complicate php forms?
-- my answer: not shure if there might be any problem with forma or similar...

So my simple question to you all, is:
Did somebody meet any problems in regards of iframe of html-form-site in panoramatour?
Or can you give any other tips, to avoid problems in that combination?

Thanks a lot!
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
This should work fine, if the pano is on the same domain as the website then there should not be any reasons when this will not work.
It can get a bit more complicated if the pano and websites are hosted on different domains, servers etc.
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
soulbrother
Posts: 545
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Sounds perfect, many thanks!

and btw: I LOVE how fast someone answers in that forum - mostly Hopki!!!,
...although there are not really many active members :-)
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi,

Probably the biggest issue I've run into when using iFrames to load external content is the way that different browsers deal with scrollbars.

To that end I've created a two-part tutorial, "Scrolling iFrames in a Gallery Component".

https://tonyredhead.com/pano2vr/scrolli ... mes-ios-p1

This tutorial covers the implementation of scrollable iFrames within the built-in Gallery Component. It was developed in response to a Pano2VR forum post viewtopic.php?f=6&t=11633 in regard to loading external web pages into the gallery and then a further discussion on how to enable scrolling on iOS devices.

It may help with your development.

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/
Post Reply