Skip to content

Instantly share code, notes, and snippets.

@tarolandia tarolandia/iframe.md
Created Nov 18, 2013

Embed
What would you like to do?

The link Public Status Pages programmatically opens an external resource into mHealth layout. There are several problems with this behavior:

  • It opens an external resource inside mHealth. This means a different design and layout that does not fit 100% with mHealth design.
  • A priori It is not possible to know the height and width of the external resource.
  • When navigating the external resource there might be changes related to the content that do not fit in the container.
  • Lack of control over the external resource

In order to handle this unpredictable behavior the HTML tag iframe (where the external content is loaded) supports scrollbars but they tend to look ugly in most of designs.

Another possible and recommended option is to open the resource into a new tab or windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.