I am trying to load an external URL (HTML file on another web server) into an iFrame so that it is contained between the title of my applications and the bottom tab bar.
I tried using the HTML5 iFrame element and attributes, but I see different behavior between different versions of Android (2.2 / 2.3) and versions of iOS. Sometimes the content inside the iFrame goes out of the iFrame and the title / tab bar disappears. Other versions will still open their own web browser, even if the URL is white. In addition, I can not set the PhonGap.plist parameter to display all external URLs in the web view, since the application also has some links from the same domain, which need to open their own browser.
I saw a message here where someone modified the ChildBrowser plugin to accomplish this ( Using IFRAME in HTML5 applications ), but there is no link to the code or steps on how this was done. I cannot use the default behavior of ChildBrowser, since I need to also display the title and tab bar.
Does anyone know how I can display an external url in iFrame for all versions? Or does anyone know what steps you need to take to change the ChildBrowser plugin to accomplish this?
Any help would be greatly appreciated as I spent many hours on this.
source share