Has anyone succesfully customized Book entries in a similar fashion to Rick's instructions on the Page images? Since I figured out how to also customize the tooltip for specific pages, I'd sure like to add that "title=\"MyCustomTooltip\" to my top-level books as well! All attempts on my part have proved fruitless, both in the writeBook(nIdx) and writeBookItems(nIdx,num) functions.
Wishin' and-a hopin'
Well, here we are a year later, so I'll try again.
Has anyone figured out how to customize TOC books (different image and custom tooltip), in a similar fashion to Rick's tip on TOC pages in his Skinny on Skins? All my attempts have resulted in an infinite loop that won't open the TOC at all.
Sure would be nice...
Oh, and while I'm wishing, how about a horizontal rule in the TOC?
I have only looked at the book icon issue. In the navigation tab of the skin editor you can specify an image for an opened and closed book. I just tested it and it works correctly. I can't help thinking that I have missed something in your question.
Here's my take on what Leon is wanting. I think he is wanting an ability for WebHelp that we have in the world of .CHM files. That would be an ability to specify a different book or page for almost each element of the TOC. In CHM files, we may choose from 42 different images. So if your TOC had a total of 42 points, you could theoretically have a different icon for each point in the TOC.
With WebHelp, it's an all or nothing situation. All books or all pages must look identical.
Then again, like my wife's hairdresser, only Leon knows for sure!
Just my .02 worth. Hmmm, with today's economy, that may be more like .0000000000002!
No, Peter, not the skin options: I'm referring to Rick's tip on editing the "function writeAnItem(nIdx)" section of the whthost.js output file for customizing TOC pages, which I'm using already. I was hoping to do the same with books (and maybe add some horizontal rules as well).
So as Rick suggests, you want more than one book icon?
No. From my 12/19/2008 post:
"Has anyone figured out how to customize TOC books (different image and custom tooltip), in a similar fashion to Rick's tip on TOC pages in his Skinny on Skins?"
I'd actually forego the different image; it's the custom tooltip I'm really after (number 2 in my initial 11/28/2007 post).
And, oh yeah, a horizontal rule (somewhat similar to the separator lines used in dropdown menus).
Well, nearly another year has passed, and I'd still like the ability to customize RH8 WebHelp TOC book tooltips and images, on a book-by-book basis. (Oh, and maybe adding horizontal rules here and there?)
Sure would be great!
I've periodically tried doing similar code changes in the function writeBook(nIdx) section, but the help won't open; instead, it goes into an endless loop trying to find the whtdhtml.htm file. I'm just not proficient enough in JS to make this work, so I'm hoping someone can help.