- Make sure all Externally Visible Hyperlinks are Relative to the
root directory, which
is always the directory which contains SWHTML.EXE
- ie:
- href="page2.htm"
- href="subdir\page9.htm"
NOT href="
\subdir\page9.htm"
- This is because when invoked SWHTML always adds its own path
to the File Name sent in the Command Line
ie: SHELL( "SWHTML subdir\page9.htm", vbNormalFocus )
SHELL( "SWHTML c:\
subdir\page9.htm", vbNormalFocus )
will NOT work as the link becomes
x:\xxxxx\xxx\c:\subdir\page9.htm
- Links invoked from inside the browser can be explicit
- ie:
- href="c:\apps\help\page22.htm"
but this is not a particularly good idea
- Try to make all references unambiguous
- ie:
- HREF="thispage#thisanchor" NOT HREF="#thisanchor"
as it makes it difficult for the visited list to accurately
determine whether you have already been there.
- The Browser does not need to reload the page
if the link is in the same file, so there is no cost in speed.
- It is probably wiser to use .BMP graphics files as they are
native to windows and should load faster than .GIF or .JPG
While many browsers will not handle .BMP images, this is hardly
a problem for a stand alone browser.
- The large "floating" CLOSE
button in the top right corner does not unload SWHTML.EXE
it simply minimizes it.
You can close it with: SHELL( "SWHTML END", vbHide )
- Forms are fully implemented in the
Baldwin THTML Component
(which is at www.pbear.com) but in this
implementation the data does not go anywhere so they are
only really useful for producing buttons that run other
programs or jump to Hyperlinks.
- The Home Page is ALWAYS x:\xxxxx\xxx\INDEX.HTM
where "x:\xxxxx\xxx\" is the path for SWHTML.EXE
- If you don't like the main Icon you can always change it using
Microsoft's APPSTUDIO which comes with 'C'.
- Click here for a noise
Or here for another
-
Click Here to Terminate SWHTML and run NOTEPAD.EXE
|