Page 2 of 4

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

Posted: Mon Jul 29, 2013 12:08 am
by Illya Stepanov

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


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

Posted: Mon Jul 29, 2013 12:26 am
by Illya Stepanov

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


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

Posted: Mon Jul 29, 2013 3:43 am
by John6086644

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


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

Posted: Mon Jul 29, 2013 3:44 am
by John6086644

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

Posted: Mon Jul 29, 2013 3:45 am
by John6086644

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

Posted: Mon Jul 29, 2013 3:49 am
by John6086644

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


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

Posted: Mon Jul 29, 2013 5:56 am
by Maryna Brodina

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


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

Posted: Mon Jul 29, 2013 6:17 am
by John6086644

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


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

Posted: Mon Jul 29, 2013 8:43 am
by Maryna Brodina

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


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

Posted: Mon Jul 29, 2013 9:06 am
by John6086644

now its like this..

Image