If you have HTML help (specifically Tripane), sometimes someone will create a link directly to a specific topic. This link opens the topic without the TOC or the header.
Use the following procedure to automagically open the full help when a single topic is accessed:
- In the skin Setup tab, enable Show navigation link at top of topic.
If a single topic is opened, this adds a link to open the full help. - In your master page, add this script before the closing </body> tag:
<script>
/* <![CDATA[ */
$(document).ready(function () {
if (($('.MCWebHelpFramesetLink:visible').length))
{
window.top.location = $('.MCWebHelpFramesetLink>a').attr('href');
}
});
/* ]]> */
</script>
Republish and try it!