I use a particular application (Quadralay's e-Publisher Pro) to create HTML versions of our documentation guides. The output generated consists of two frames. A narrow frame on the left contains the contents of the guide, and a wide frame on the right contains the guide text.
The contents are set up much like the Bookmarks pane in PDF files where entries are indented based on the contents hierarchy.
When I click on one of the indented contents headings, the contents pane automatically scrolls right so that the first character of the heading is at the very left side of the pane. As a result, you can no longer view the entire text of entries that are not indented that far.
I assume that there's a JavaScript somewhere that's causing this behavior. But this application generates dozens of JS files, and I can't determine where the problem is, especially since I don't know squat about JavaScript.
I did find one JS file that contains ClearScrollPosition, SaveScrollPosition, and RestoreScrollPosition, but I don't know what to look for in those functions. I'm not even sure that these are for the contents pane and not for the text pane.
I know this is not very much information, but does anyone have any suggestions as to what I should look for? Or what information I need to include to help you help me?
Rick Henkel
The contents are set up much like the Bookmarks pane in PDF files where entries are indented based on the contents hierarchy.
Code:
Guide Title
Chapter 1, Chapter Title
Heading 1
Heading 2
Chapter 2, Chapter Title
Heading 1
Heading 2
When I click on one of the indented contents headings, the contents pane automatically scrolls right so that the first character of the heading is at the very left side of the pane. As a result, you can no longer view the entire text of entries that are not indented that far.
Code:
Title
pter 1, Chapter Title
Heading 1
Heading 2
pter 2, Chapter Title
Heading 1
Heading 2
I assume that there's a JavaScript somewhere that's causing this behavior. But this application generates dozens of JS files, and I can't determine where the problem is, especially since I don't know squat about JavaScript.
I did find one JS file that contains ClearScrollPosition, SaveScrollPosition, and RestoreScrollPosition, but I don't know what to look for in those functions. I'm not even sure that these are for the contents pane and not for the text pane.
I know this is not very much information, but does anyone have any suggestions as to what I should look for? Or what information I need to include to help you help me?
Rick Henkel