DITA and XMetaL Discussion
XMetaL Community Forum › DITA and XMetaL Discussion › WebHelp — How Does Left Panel Get Loaded
-
EvetsM May 13, 2014 at 6:20 pm
WebHelp — How Does Left Panel Get Loaded
May 13, 2014 at 6:20 pmParticipants 1Replies 2Last Activity 8 years, 9 months agoProduct: XMetaL Author Enterprise Version#: 9.0.0.047
Windows 7I've looked at the page source for a sample WebHelp system and the left panel (Contents, Index, Search) are not in it.
Apparently it is loaded programatically. Can anyone point me to the script and line(s) where the loading takes place?
Thanks!
SteveDerek Read May 13, 2014 at 10:24 pm
Reply to: WebHelp — How Does Left Panel Get Loaded
May 13, 2014 at 10:24 pmThe following code should be in the main HTML file that is generated, with the files being copied to those relative path locations:
[code]
[/code]EvetsM May 15, 2014 at 8:57 pm
Reply to: WebHelp — How Does Left Panel Get Loaded
May 15, 2014 at 8:57 pmThanks, Derek.
In case anyone else wondered about this, I perused some of the JavaScript files and set some breakpoints in developer tools, then loaded a WebHelp page.
The left panel (ToC) seems to be built starting in webhelp.js. That file has a document.ready event that calls whBuildToC.
Steve
-
AuthorPosts
- You must be logged in to reply to this topic.