HTML target shows Map editor area lines

This forum is for all Flare issues related to the Microsoft HTML Help target.
This target produces "CHM" files in the output.
Post Reply
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

HTML target shows Map editor area lines

Post by henkjans »

Hello, I'm using "hotspots" on my pictures to popup text.
Using the Image Map Editor I specify a circular area on the picture with Popup as Target Frame.
Problem now is that after building the HTML target and pointing with the mouse to that area the area line is visible.
Is there a possibility to get rid of this line?
Thanks,
Henk Jan Schut
The Netherlands
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: HTML target shows Map editor area lines

Post by LTinker68 »

It must be coming from the <area> tag. If it were a border on the img tag then you'd see it around the whole image. Check the class MCPopupSpot, too (it probably originates from MadCap|popup in the Stylesheet Editor). That class was applied to the <area> tag in the compiled output.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Re: HTML target shows Map editor area lines

Post by henkjans »

Lisa thanx.
I cannot find the class MCPopupSpot in style <area>. Is there a search possibility to find it?
Mayba you can point me the path to it?
Thanks,
Henk Jan Schut
The Netherlands
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: HTML target shows Map editor area lines

Post by LTinker68 »

Sorry, should have mentioned that you'll have to add it manually to the stylesheet file. In the Stylesheet Editor, click on the area tag to select it, then click Add Class. Name the class exactly as I wrote it below (case sensitive). Once you've done that, set it's border style to none and rebuild. Normally the definitions for that style are in the MadCap.css file which Flare inserts at build-time. By adding the style to your topic stylesheet, you'll be overriding the style as it's defined in MadCap.css, since your stylesheet file will be listed last in the topic when it's built.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Re: HTML target shows Map editor area lines

Post by henkjans »

Hi Lisa, I tried what you wrote.

<area>
+ MCPopupSpot > Border > Border-style: set to None

Rebuild target, but the area still shows when clicking that area to see the popup.

You explanation btw was clear.
Thanks,
Henk Jan Schut
The Netherlands
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: HTML target shows Map editor area lines

Post by NorthEast »

When you click on an image map in IE, it displays a border when you click; if you click and hold you'll see it.
Normally you wouldn't really notice this, but it stays there whilst the popup is displayed.

You don't get this in FireFox, which suggests it might be related to IE, rather than your styles.
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Re: HTML target shows Map editor area lines

Post by henkjans »

Hi Dave,
thanx for the input but my problem occurs with HTML Help not WebHelp.
It doesn't disturb the performance but it looks rather funny.
It would be nicer when it doesn't appear.
Thanks,
Henk Jan Schut
The Netherlands
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: HTML target shows Map editor area lines

Post by NorthEast »

henkjans wrote:Hi Dave,
thanx for the input but my problem occurs with HTML Help not WebHelp.
It doesn't disturb the performance but it looks rather funny.
It would be nicer when it doesn't appear.
It'll apply to both HTML help and WebHelp in IE, as they share the same engine.
henkjans
Sr. Propeller Head
Posts: 104
Joined: Wed Feb 02, 2011 1:59 am

Re: HTML target shows Map editor area lines

Post by henkjans »

Hi Dave,

I didn't know that but to view my HTML Help I use no internet browser.
On a computer platform (XP) the .chm file is started within the default Windows explorer.
Thanks,
Henk Jan Schut
The Netherlands
Post Reply