HtmlLoadFile


HtmlLoadFile filename$

This command displays HTML file stored on the sdcard. The path is relative to the current working directory. HtmlBrowser mode must be On for this command to work.


For example:



' Optionally download the demo HTML file.

srcFile$ = "www.mintoris.com/demo/HtmlDemo02.html"
dstFile$ = "html/HtmlDemo02.html"

If not HttpDownload(srcFile$, dstFile$, 1) then
Print "Could not download Html file."
End
Endif


' Display the file

HtmlBrowser On

HtmlLoadFile "html/HtmlDemo02.html"

Wait 10000

HtmlBrowser Off


Executing a HtmlLoadFile "RELOAD" will reload the current screen.

Executing a HtmlLoadFile "BACK" will return to the prior screen.



HtmlBrowser On|Off


HtmlLoadData


HtmlLoadUrl


HtmlInput


HtmlEscape$()


HtmlUnescape$()






Become a Patron