Is it possible to keep the dropdown menu of my personal help content from folding in after clicking on a subsection ?

1 次查看(过去 30 天)
The pull down menu of the help content i created for a personal toolbox is always folding in when i went some sections 'down' in the menu-structure and click on a subsection there. Is it possible to prevent this by some code in the helptoc.xml or info.xml file or somewhere else?
Also it would be great if the dropdown menu would fold out to the subsection i am reading at the moment, especially after clicking a link to another helpfile.(It's like that in the official MATLAB help browser.)
Thx for your help! Best regards Simon

回答(1 个)

Adam Barber
Adam Barber 2015-8-10
Hi Simon,
I believe this is happening because the subsection that you are clicking on is actually a link to a new HTML page, and that page only has its own section expanded. In the MATLAB documentation, I could only have the subsection not collapse other open structures if it was not a link itself. You can tell because of both the blue highlighting as well as the link displayed in the bottom left corner of the documentation browser.
I was unable to create a "tocitem" in my own example that was not a link, however so I am not sure if there is a way to reproduce the main documentation behavior. I work for MathWorks and I have forwarded this request to the appropriate product team.
-Adam

类别

Help CenterFile Exchange 中查找有关 Files and Folders 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by