HTML window in AIR app can't open new window
Hi, By allowing HTML content to be displayed inside our AIR app it's possible for our partner organization to write their own custom features hosted on HTML pages at their site, but for their content to appear integrated seamlessly within our AIR app's container so that it looks like it belongs there...
We've successfully got an HTML window within our AIR app that navigates to content in a sub-folder on a web-hosted domain. Content displays correctly and hyperlinks function within the HTML window as we'd expect apart from three scenarios that appear to be manifestations of the same problem:
- A hyperlink on a page shown in-app with a link to a PDF stored on the web server has no action
- A hyperlink on a page shown in-app with a link to a video file stored on the web server has no action
- A hyperlink on a page shown in-app with a link to another site (target="_blank" parameter) has no action
All three hyperlink scenarios work as we'd wish if we navigate to the page in a standard browser.
How can we code the HTML so that we can display selected content in an HTML window inside the AIR app; but have selected hyperlinks invoke the user's standard web browser, or launch Adobe Reader, or play a video file etc?
Note, we understand how to do those things within AIR itself, but can't figure out how to achieve this from inside the HTML window in the app.
