Customized whthost.js - not working as expected
Hi,
I've used a customized whthost.js file for a couple years now with no issues. Lately, it seems that clicking on a TOC entry does NOT expand it. Clicking once on a topic in the TOC will display the content in the reading pane, clicking twice on it will (sometimes) expand the TOC. Subsequent selections in the TOC seem to sporadically expand the TOC entries and then not expand the TOC entries. I can't figure out why it's not working consistently & correctly.
I've customized whthost.js using William's awesomely helpful information here: Make WebHelp TOC Wrap | WvanWeelden.eu, including wrapping the TOC around the images.
For fun, I've reapplied the customizations in a newly generated whthost.js thinking there's been an extra space or something in my customized file that I've overlooked and is now causing a problem. No luck. This happens whether I'm viewing the docs in Chrome or IE, locally. It doesn't discriminate ![]()
I've also customized the spacing between each level of the TOC.
These are the only customizations in that file.
This problem does not occur on output files, which do not contain the customized file. Once I copy/paste this file into my published files (or into my output file, the error occurs.
I also apply customized whtbar.js, whskin_banner.htm, whskin_mbars.htm, whskin_tbars.htm files. But, I believe the TOC issue is in the whthost.js file.
Anyone else have this problem?
thanks!
RH 11.0.4.291,Webhelp
IE 10.0.9
Chrome 42.0.2311.135 m
