Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tarolandia
Created November 18, 2013 20:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarolandia/7534696 to your computer and use it in GitHub Desktop.
Save tarolandia/7534696 to your computer and use it in GitHub Desktop.

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