Loading external HTML help pages

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Loading external HTML help pages

Torsten Bergmann
For simple html pages you can use Scamper (a Squeak HTML
browser written in Smalltalk) to view the page within
Squeak. But I dont know if the code is still working
and it is really "basic".

The best option would be to call the external native
webbrowser. You can use the "ExternalWebbrowser"
[1] project.


<windowsspecific>

  If your target platform is Win32 only you can "optimize"
  by directly using the "FFI" project [2]/[3] and just run

    Win32Shell new shellOpen: 'file://...'

  to open the browser.

  If you want to bundle the html files into one single
  deployable file (a real help file) then use the HTML
  Help tools [4] from the Microsoft SDK to create/compile
  a *.chm helpfile from all your pages.

  You can then call the pages within the file using

  mk:@MSITStore:C:\MyPath\...\myhelp.chm::/Tutorial001.htm

</windowsspecific>

Bye
T.

[1] http://map.squeak.org/package/a2cf0479-a33d-456f-b3ed-8f312c6c439d
[2] http://wiki.squeak.org/squeak/1414
[3] http://source.squeakfoundation.org/FFI.html
[4] http://msdn.microsoft.com/en-us/library/aa163849(office.10).aspx
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser