|
|
| |
|
This demo uses HTML frames to display a hyperlinked table of contents on
the left while displaying the subject document on the right. The
hyperlinks on the left in this example are hard coded to go to certain
page numbers. Click on a chapter listing and SwiftView will
display the desired page. This example uses JavaScript to generate
a new HTML page for the right frame, resulting in an instance of SwiftView
opened to the desired page.
Hyperlinks that trigger this action can
be seen in svtoc_l.htm. When a hyperlink
is clicked, it calls the JavaScript goToPage function defined
in svtoc.htm.
[ Run ] [ View Source: svtoc.htm,
svtoc_l.htm, svtoc_r.htm
]
Up to the Web How-To.
|
|
|
|