HTML5: Highlight search results

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets

HTML5: Highlight search results

Postby fabina on Thu Apr 22, 2021 8:55 am

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.
fabina
Propeller Head
 
Posts: 12
Joined: Thu Mar 05, 2009 3:56 am

Re: HTML5: Highlight search results

Postby Nita Beck on Thu Apr 22, 2021 11:21 am

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/flare2021/Content/Flare/Search/Search-Highlighting/Customizing-Highlight-Color-Search-Hits.htm
Nita
Image
Content Strategist / Information Architect / Flare Consultant: http://beck-communications.com
Manager, Rochester Flare User Group: http://www.facebook.com/RochesterFlareUserGroup
Nita Beck
Senior Propellus Maximus
 
Posts: 3429
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: HTML5: Highlight search results

Postby fabina on Fri Apr 23, 2021 12:56 am

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
fabina
Propeller Head
 
Posts: 12
Joined: Thu Mar 05, 2009 3:56 am


Return to Web-based Outputs

Who is online

Users browsing this forum: No registered users and 8 guests