facebook

iframe question

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #333130 Reply

    I understand the information about iframes located here…http://www.genuitec.com/mobile/docs/technicalReports/ios_iframe.html but have another question. First…the app I’m looking at doing for my employer would use multiple HTML widgets on a single iPhone screen and each HTML widget would have an iframe to get/display data from our website/server. But, on our website, each iframe would display non-scrolling data specifically for that iframe’s purposes. For example…iframe one may display a single image based upon the user’s location, iframe two may display a non-scrolling text message, iframe three may display a “thought of the day”, etc. And…these widgets/iframes would not handle any interaction (eg. button or link clicking, etc.). They would be display only. It would be based upon button clicks in the MobiOne interface that the widgets/iframes would be populated.

    With the idea that none of these widgets/iframes would be a scrolling (eg. bigger than the widget) page and wouldn’t require interaction, do you see any problems with this approach? I understand it may not be the “best” approach, but do you see any issues?

    Thanks,
    Mark

    #333154

    support-michael
    Keymaster

    @DevelopingClouds

    >With the idea that none of these widgets/iframes would be a scrolling (eg. bigger than the widget) page and wouldn’t require interaction, do you see any problems with this approach?

    Yes there is an additional problem where the <iframe> size expands to the size of its content regardless of your size settings. We generally discourage use of iframe on mobile devices because the outcome is usually poor. But that is not to say there are exception cases. If you have time to experiment then give the <iframe> approach and see how it performs on your target device(s). You may find that the quirks don’t apply to your specific UI.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: iframe question

You must be logged in to post in the forum log in