Page 1 of 1

How to display HTML files in local folder with revBrowser?

Posted: Fri Jul 17, 2009 2:54 pm
by alex298
Hello,

I am using Windows XP platform. This may be a simple question but I don't know how to do it.

I prepared some HTML webpages and saved in the same folder of the RR application, i.e.

myRR.rev
instruction.html
direction.html
help.html
etc....

I embed the revbrowser in a stack. However I have no idea how to display the HTML files with the revBrowser. I know how to display webpages on the Internet (e.g. http://www.anydomain.com/instruction.html) with revBrowser.

Please help.

Thanks and best regards

Posted: Fri Jul 17, 2009 7:57 pm
by Janschenkel
Use a "file://" URL with the full path on disk, instead of an "http://" url - assuming you have a file "C:\MyStuff\MyFile.htm" that you want to show, you'd script it like:

Code: Select all

revBrowserNavigate theBrowserID, "file://C:/MyStuff/MyFile.htm"
HTH,

Jan Schenkel.

Posted: Sat Jul 18, 2009 3:51 pm
by alex298
Dear Jan,

It works! Thanks for your help.

Best regards