Blank AccordionItem Labels

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Blank AccordionItem Labels

Post by Ineffable »

Instead of the baked-in accordion labels, I have created some background images instead, with stylized text replacing the standard copy ('TOC', 'Favorites', 'Search', etc.) by using the BackgroundImage/BackgroundImageHover properties of the AccordionItem>TOC (and Search, Index, etc.) style of the Styles tab in the corresponding Skin.

I would like to prevent the default text from being displayed (as shown in the AccordionItem>Styles>TOC>General>Label), but Flare is not allowing me (see screenshot below). It will only allow me to replace the text, but not remove it; essentially, the field cannot be null. However, the desired results are displayed when I preview the WebHelp output.
error.jpg
I delete the text, publish the target, but the text still displays. I return to the Skin, delete the text, re-publish, still there. I tried entering an empty space or two, yet it returns. I tried Alt+32 (ASCII space), same issue.

It's a catch-22: Flare allows me to put in a background image, yet it won't allow me to remove the default text, only replace. To make matters worse, the background image is placed behind the text, not in front of it. I could make the colors match, but that's an unacceptable solution as it will affect the image's design.

Any advice is appreciated.

{Flare 7.0.1 / Windows 7}
You do not have the required permissions to view the files attached to this post.
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Blank AccordionItem Labels

Post by Ineffable »

Anyone? Bueller?

I removed the AccordionTitle text from the output by editing the Stylesheet.js and Stylesheet.xml files, and replacing the text with Alt+32 (space). However, the TOC fails to load in IE, although it works fine in Safari/Chrome. In IE, the text/space is replaced by 'null', appropriately enough.
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Blank AccordionItem Labels

Post by Andrew »

Could you right-align the text, enter a single letter (like i), and set the text color to whatever color you used as your image's background?
Flare v6.1 | Capture 4.0.0
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Blank AccordionItem Labels

Post by LTinker68 »

I don't know if it matters, but the appropriate space character is ALT + 0160, which results in   in the code.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Blank AccordionItem Labels

Post by Ineffable »

LTinker68 wrote:I don't know if it matters, but the appropriate space character is ALT + 0160, which results in   in the code.
Yes, that worked in IE! I also tried using the &nbps;, to no avail.

Thanks!
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Blank AccordionItem Labels

Post by LTinker68 »

It would actually be   but that might have just been a typo on your part.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Blank AccordionItem Labels

Post by Ineffable »

LTinker68 wrote:I don't know if it matters, but the appropriate space character is ALT + 0160, which results in   in the code.
That works, but with one caveat: The   has to be handcoded in the output by editing the Stylesheet.js and Stylesheet.xml files. Placing the code in the Label field (Skin>Styles>AccordionItem>TOC>General>Label) pre-compile does not work.

Thanks!
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Blank AccordionItem Labels

Post by Ineffable »

LTinker68 wrote:It would actually be   but that might have just been a typo on your part.
Ignore the comma. I should have used the Code font to show that I used

Code: Select all

 
and not

Code: Select all

 ,
. :D

Anyway, all is well for now. I just have to edit the the JS and XML files by hand after output. From what I've read, XML does not like whitespace, which may explain the issues.
Ineffable
Sr. Propeller Head
Posts: 152
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Re: Blank AccordionItem Labels

Post by Ineffable »

I finally broke down and submitted a bug report. Tired of the hand editing after each and every output. :?
Post Reply