DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion WebHelp — How Does Left Panel Get Loaded

  • EvetsM

    WebHelp — How Does Left Panel Get Loaded

    Participants 1
    Replies 2
    Last Activity 8 years, 4 months ago

    Product: XMetaL Author Enterprise Version#: 9.0.0.047
    Windows 7

    I'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!
    Steve

    Reply

    Derek Read

    Reply to: WebHelp — How Does Left Panel Get Loaded

    The following code should be in the main HTML file that is generated, with the files being copied to those relative path locations:

    [code]





    [/code]

    Reply

    EvetsM

    Reply to: WebHelp — How Does Left Panel Get Loaded

    Thanks, 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

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support