Change to WebHelp TOC hover/background color hack in v5

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
KeithM
Propeller Head
Posts: 30
Joined: Thu May 31, 2007 2:19 pm

Change to WebHelp TOC hover/background color hack in v5

Post by KeithM »

From what I found this morning, the javascript file where you make the changes per this KB article...

http://kb.madcapsoftware.com/Content/Fl ... _Color.htm

...has changed from MadCapToc.js to MadCapAll.js in v5. Also, in each case, it is the 2nd instance of the hex code that needs to be changed.

Link code:
this.style.color="#ff0000";}

Background code:
gCurrSelection.style.backgroundColor="#dddddd";}

(as seen when I open the file in Notepad)
Last edited by KeithM on Tue Oct 06, 2009 8:22 am, edited 1 time in total.
KeithM
Propeller Head
Posts: 30
Joined: Thu May 31, 2007 2:19 pm

Re: Change to WebHelp TOC hover/background color hack in v5

Post by KeithM »

UPDATE: If you turn the new 'Condense JavaScript Files' option off in the Target Editor on the Performance tab, then the original hack of the MadCapToc.js file still applies.

(thanks to Rob in support for that)
bobmoon
Sr. Propeller Head
Posts: 259
Joined: Thu Mar 27, 2008 10:22 am
Location: Atlanta

Re: Change to WebHelp TOC hover/background color hack in v5

Post by bobmoon »

Thanks for posting this Keith! I was looking all over trying to figure out why the hack didn't work in v5.

Bob
lcharlesjohnson
Propeller Head
Posts: 39
Joined: Fri Nov 16, 2007 7:16 pm
Location: Northern Virginia
Contact:

Re: Change to WebHelp TOC hover/background color hack in v5

Post by lcharlesjohnson »

The above link is no longer working. Can you provide the correct URL?

Thanks!

Laura Johnson
Laura Charles Johnson
MadCap Certified Advanced Developer and Instructor of Flare
http://flareforhelp.lauracjohnson.com
KeithM
Propeller Head
Posts: 30
Joined: Thu May 31, 2007 2:19 pm

Re: Change to WebHelp TOC hover/background color hack in v5

Post by KeithM »

lcharlesjohnson wrote:The above link is no longer working. Can you provide the correct URL?

Thanks!

Laura Johnson
Fixed.
WritersBlock
Propeller Head
Posts: 19
Joined: Mon May 17, 2010 11:46 am

Re: Change to WebHelp TOC hover/background color hack in v5

Post by WritersBlock »

KeithM wrote:
lcharlesjohnson wrote:The above link is no longer working. Can you provide the correct URL?

Thanks!

Laura Johnson
Fixed.
The above link isn't working again. Thanks
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Change to WebHelp TOC hover/background color hack in v5

Post by LTinker68 »

WritersBlock wrote:The above link isn't working again.
Try this link --> http://kb.madcapsoftware.com/default_CSH.htm#OUTW1018F

It's using the map ID instead of the topic's file name, so it should be good as long as they don't change the map ID. Which they've only done once that I remember, when they added the "F" at the end for Flare.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply