Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

how to open webpage in app itself (windows 8 app)

Hi John -- sorry was my mistake, I thought you want to open in a browser.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

how to open webpage in app itself (windows 8 app)

John -- one of the solutions here is to create a button with action navigate to page (here it's name Screen1)
Image
and on a page 'Screen1' - put inside panel component, as Igor mentioned before and add event - "Page ready" with run JS action
Image

John6086644
Posts: 0
Joined: Sat Jul 27, 2013 4:18 am

how to open webpage in app itself (windows 8 app)

thanks lllya! its working as i wanted but the problem is its running in very small box like panel and webpage is of that size only

John6086644
Posts: 0
Joined: Sat Jul 27, 2013 4:18 am

how to open webpage in app itself (windows 8 app)

can we make it big like to display in full size but leaving some space for back button

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

how to open webpage in app itself (windows 8 app)

Hello! Use the following code in panel:
code<iframe name="iframeName" width="100%" height="100%"><&#47;iframe>/code
and this code on Page ready:
code$("#metrocustomhtmlName")&#46;css("height", "100%");
window&#46;open("http:&#47;&#47;appery&#46;io&#47;", "iframeName");/code
where metrocustomhtmlName - Panel name

John6086644
Posts: 0
Joined: Sat Jul 27, 2013 4:18 am

how to open webpage in app itself (windows 8 app)

nop not working and also one error in visual studio "Error in user defined event onready: ReferenceError: '$' is undefined"

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

how to open webpage in app itself (windows 8 app)

Try this code codeWinJS&#46;Utilities&#46;id("metrocustomhtmlName")&#46;setStyle("height", "100%");/code instead code$("#metrocustomhtmlName")&#46;css("height", "100%");/code

John6086644
Posts: 0
Joined: Sat Jul 27, 2013 4:18 am

how to open webpage in app itself (windows 8 app)

now its like this..

Image

Return to “Issues”