Hover in WebHelp Output

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
michelle_l
Jr. Propeller Head
Posts: 5
Joined: Tue Jun 26, 2012 7:10 pm

Hover in WebHelp Output

Post by michelle_l »

Hello!
I haven't used Flare in a few years (as evidenced by the fact I'm using v3.1). I'm publishing a project to WebHelp.
I want to control the color of the hovers in the Skin, I think. Image
Basically, it's a horrible red and I want it to be blue. I cannot find, ANYWHERE, where I would change this one style.
Please help!

Thanks!
Michelle
jasonsmith
Sr. Propeller Head
Posts: 205
Joined: Wed Apr 28, 2010 2:51 am

Re: Hover in WebHelp Output

Post by jasonsmith »

Hello

If you open the file WebHelp\Content\SkinSupport\MadCapAll.js and search for the terms below (around line 9400) you can change the color that appears when the mouse hovers over the TOC entries

function TocEntryOnmouseover(){
this.style.color="#xxxxxx";}
michelle_l
Jr. Propeller Head
Posts: 5
Joined: Tue Jun 26, 2012 7:10 pm

Re: Hover in WebHelp Output

Post by michelle_l »

Much to my surprise, and I've now done a full search of my hard drive, no where do I have the file MadCapAll.js.
Is there another file, perhaps because I have an earlier version of Flare?

Thanks!!
-M
crdmerge
Sr. Propeller Head
Posts: 248
Joined: Tue Dec 16, 2008 5:37 am

Re: Hover in WebHelp Output

Post by crdmerge »

Maybe try a search on the string TocEntryOnmouseover in all js files (*.js)?
michelle_l
Jr. Propeller Head
Posts: 5
Joined: Tue Jun 26, 2012 7:10 pm

Re: Hover in WebHelp Output

Post by michelle_l »

Fantastic! Thank you!

For future reference, I found it in WebHelp\Content\SkinSupport\MadCapTOC.js
(v 3.1 of Flare)

- M
jasonsmith
Sr. Propeller Head
Posts: 205
Joined: Wed Apr 28, 2010 2:51 am

Re: Hover in WebHelp Output

Post by jasonsmith »

Hi

the WebHelp\Content\SkinSupport\MadCapAll.js file is in Flare 7. A copy of this file is generated for every WebHelp "package" in the Webhelp output folder so I guess you can control this on a case-by-case basis if you don't want to change this globally.
Post Reply