Open dropdown text to display cross-references and TopicAlias pages

Summary

We use many dropdown heads to save space and allow readers to quickly find what they want from the "list" of heads. We also use many xref links to these heads, and many contain TopicAlias markers intended to open the topic at the insertion point.

Unfortunately, when the user clicks the link, the dropdown head remains closed and the text beneath remains hidden (hidden text is hidden text...).

Detailed description

Dropdowns are great for displaying lists of heading procedures for users to choose from.

But they are less than useful if they don't open automatically when a user clicks the xref link, or sends an F1 call from the app.

We need code added which expands the dropdown when either:

jjj

17 May 2010


:) :)) :( ;) :\ |) X-( B)
Jerry P   If you use the Search tab in Webworks Help 5.0 to search for a word, and the search word happens to reside inside a closed drop-down, a similar problem occurs. The dropdown head does not open. This makes the search result a little weak. Code to make the drop-down open would be very useful.
2010-05-17 19:07:28
Jerry P   If you use the Search tab in Webworks Help 5.0 to search for a word, and the search word happens to reside inside a closed drop-down, a similar problem occurs. The dropdown head does not open. This makes the search result a little weak. Code to make the drop-down open would be very useful.
2010-05-17 19:08:08
Jerry P   If you use the Search tab in Webworks Help 5.0 to search for a word, and the search word happens to reside inside a closed drop-down, a similar problem occurs. The dropdown head does not open. This makes the search result a little weak. Code to make the drop-down open would be very useful.
2010-05-17 22:24:29
BenAllums   Actually, the search functionality in WWHelp should already expand dropdowns when you click on a search word to display it.
2010-05-18 09:40:47
JohnPitt   Works as advertised for Search
jjj
2010-05-18 18:15:35
Jerry P   I don't recall this working when I tried it a year or two ago, but as you say, it does now. Was this behaviour part of a recent release to ePublisher?
2010-05-19 19:11:13
BenAllums   Jerry, I show the change was made back on March 7, 2008.  You may not have seen the change if you had an override to "Pages/scripts/expand.js".

WWEP1997
If a word is found in a drop down, clicking on a search results link
will not auto-open the drop down that is closed (Headings and Index in TOC)
2010-05-25 08:51:50

Enhancements/DisplayDropdownTextAutomaticallyForXrefsAndTopicAliases (last edited 2010-05-17 04:50:24 by JohnPitt)