Linking to a dropdown

Download file: 

Sometimes you need to link to an anchor that is inside a dropdown. RoboHelp doesn't open the dropdown, so the link will only open the page. This JavaScript opens dropdowns if you call an anchor that is inside a dropdown.

Note:

Compatibility

This script works with the following outputs:

Version / Output AIR CHM FlashHelp WebHelp
RoboHelp 9 Yes Yes Yes Yes
RoboHelp 8 Yes Yes Yes Yes
RoboHelp 7 No No No No

Setting up

  1. Add the script as a baggage file to your project.
  2. Add the script in the header section of your topic:
<head>
  <script type="text/javascript" src="http://wvanweelden.eu/dropdownhyperlinkfix.js"></script>
</head>

Note: You need to add the script on the page you are linking to. You do not need to add the script on the page you are linking from.

Tags: