HTML5: Highlight search results

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
fabina
Propeller Head
Posts: 19
Joined: Thu Mar 05, 2009 3:56 am

HTML5: Highlight search results

Post by fabina »

We create HTML5 help (Side Navigation skin). Since we only want to provide the help locally at first, we use the MadCap Search.
Does anyone know if you can specify that the words found in the topic will be highlighted? I only found something corresponding in the flare help when using a Tripane Naviation skin.
Nita Beck
Senior Propellus Maximus
Posts: 3667
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: HTML5: Highlight search results

Post by Nita Beck »

By default, Flare "out-of-the-box" Side Nav output does not include CSS for search highlighting. But it's easy to add this to your stylesheet. You'll need to add span classes: span.SearchHighlight1, span.SearchHighlight2, etc.

You can find details here: https://help.madcapsoftware.com/flare20 ... h-Hits.htm
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
fabina
Propeller Head
Posts: 19
Joined: Thu Mar 05, 2009 3:56 am

Re: HTML5: Highlight search results

Post by fabina »

Thank you very much Nita - also for the link. :)
I actually found out the procedure yesterday evening, but it's nice to know that you can get support quickly here in the :flare: forum.
Have a nice weekend
Post Reply