Community
Participate
Working Groups
The following has been sent to platform-help-dev mailing list: Hi Help Developers: I have written a help plugin. And it can be correctly browsed in the help browser . But if i push the synchronize button, it can't synchronize the navigation frame with the current topic. the toc file looks like the following: <topic label="Ref1" href="http://www.mywebsite.com/first.html"> <topic label="Ref1-1" href="http://www.mywebsite.com/second.html"> ... If i modify the toc file like this: <topic label="Ref1" href="html/ref1/first.html"> <topic label="Ref1-1" href="html/ref1/Ref1-1/second.html"> the synchronize button of help browser worked fine. What is the reason? Thanks in advance for any suggestions, Tin Ma
Security in the browser is the reason it does not work. To synchronize, Javascript needs to obtain a URL of the document displayed in a content frame to find it in the TOC. Because the document is external, it is not served by help server (for security reason). The frame is isolated from the rest of help frames and doing ContentViewFrame.window.location.href fails. I do not see a way of fixing this.
The same problem exists for other action in the content toolbar. In addition to Synchronize, Print and Add Bookmark do not work.
Candidate for the 3.0 readme.
Documented in 3.0 readme already.