HTML pages packed into Apps

34 views
Skip to first unread message

Keith D. Bart

unread,
Feb 23, 2015, 4:59:07 PM2/23/15
to chromi...@chromium.org
I was going to make an app which would contain multiple html pages with a link page to open to sites in new tab. Can that be done? Please reply and let me know. thank you.

Matt Giuca

unread,
Feb 23, 2015, 6:39:38 PM2/23/15
to Keith D. Bart, chromi...@chromium.org
Sort of. A Chrome App can only have a single HTML page in a window (navigation is not allowed). But you could allow pseudo-navigation within the app by either:
a) having JavaScript tear down the page contents and build a new DOM structure within the same document, so it looks like a brand new page,
b) having a WebContents within the page that contains HTML. WebContents is allowed to navigate, but it isn't allowed to use Chrome App APIs (it's effectively a web browser inside your app).

Clicking links and having them open in a new tab works as you would expect (just set target="_blank").

On Tue Feb 24 2015 at 8:59:11 AM Keith D. Bart <hawkey...@gmail.com> wrote:
I was going to make an app which would contain multiple html pages with a link page to open to sites in new tab. Can that be done? Please reply and let me know. thank you.

--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-app...@chromium.org.
To post to this group, send email to chromi...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Keith D. Bart

unread,
Mar 18, 2015, 12:23:02 PM3/18/15
to chromi...@chromium.org, hawkey...@gmail.com
What I want to do is package an html page, Pictures and my html page would have my Internet radio station schedule which I know how to do tables and possibly a song list and etc.

Keith D. Bart

unread,
Mar 18, 2015, 12:24:51 PM3/18/15
to chromi...@chromium.org, hawkey...@gmail.com
I need an example of how I can do it. Thank you. And I might make one of my themes and extensions too.

Paul McGahuey

unread,
Mar 18, 2015, 3:47:57 PM3/18/15
to Keith D. Bart, chromi...@chromium.org
On Feb 23, 2015 1:59 PM, "Keith D. Bart" <hawkey...@gmail.com> wrote:
I was going to make an app which would contain multiple html pages with a link page to open to sites in new tab. Can that be done? Please reply and let me know. thank you.

--
Reply all
Reply to author
Forward
0 new messages