How to include a "Parent topic" link in HTML5?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
fchan
Propeller Head
Posts: 47
Joined: Fri Aug 31, 2012 11:41 am

How to include a "Parent topic" link in HTML5?

Post by fchan »

I see that a lot of online help pages include a link to the "Parent topic," either in the header or footer. How do I do that if I use Flare to generate HTML5 Help? I know how to make breadcrumbs but I'm not sure if this is a variant of breadcrumbs. Thanks!
Thomas Tregner
Propeller Head
Posts: 56
Joined: Mon Apr 05, 2010 6:51 pm
Location: Charleston
Contact:

Re: How to include a "Parent topic" link in HTML5?

Post by Thomas Tregner »

That would work. In your stylesheet, set mc-breadcrumbs-count to 1. To change the text before the breadcrumb(s), edit mc-breadcrumbs-prefix.
fchan
Propeller Head
Posts: 47
Joined: Fri Aug 31, 2012 11:41 am

Re: How to include a "Parent topic" link in HTML5?

Post by fchan »

But if I use breadcrumbs, the current topic title will show up as the last "crumb." For example, if my current topic is Topic B, the following will be displayed:

You are here: Topic A > Topic B

But I want to display:

Parent topic: Topic A
Thomas Tregner
Propeller Head
Posts: 56
Joined: Mon Apr 05, 2010 6:51 pm
Location: Charleston
Contact:

Re: How to include a "Parent topic" link in HTML5?

Post by Thomas Tregner »

Sorry. If you want to use the breadcrumbs proxy, you can set mc-breadcrumbs-count to 2 and create a span style to hide the final breadcrumb with no link.

Code: Select all

span.MCBreadcrumbs
{
	display: none;
}

MadCap|breadcrumbsProxy
{
	mc-breadcrumbs-count: 2;
	mc-breadcrumbs-divider: ' ';
	mc-breadcrumbs-prefix: ' ';
}
Post Reply