downloading an Html file and returning to app

Hi people,

I have an app butchered together from other code, I can get it to download and display the html text file that I require, however, how do i get back to the app? do I need to put a return button in the html file in Lua? or can you limit the size of the web-overlay on the screen so that you can display a return button elsewhere?

to get it to even show the external web link I edited the localpage.html page & added another button which links out to the web, however, what I want it to do is on a normal button function, call the web file and not just a local copy, any ideas? sorry if this is really basic or answered before, i’ve had a look around and cant see anything [import]uid: 42102 topic_id: 8952 reply_id: 308952[/import]

http.request{
url = “http://www.file.html”,
sink = ltn12.sink.file(myFile),
}

The code above is from the simple image download demo, is there a way to make it work for html rather than just images/pdf’s etc

and once displayed, I want to remove it

Thanks again [import]uid: 42102 topic_id: 8952 reply_id: 32721[/import]