Search found 56 matches

by FrankyT
Thu Aug 16, 2012 2:23 am
Forum: Printed Documentation Targets
Topic: Potential style class confusion with "Use TOC depth..."
Replies: 2
Views: 1209

Re: Potential style class confusion with "Use TOC depth..."

Lisa - thanks, and yes, I was aware that one can create generic classes. For neatness's sake, I wanted to restrict this class to the element for which I created it - although in this case neatness was arguably a lost cause.

I just wanted to highlight the issue really. I was confused for a couple of ...
by FrankyT
Wed Aug 15, 2012 7:11 am
Forum: Web-based Outputs
Topic: HTML output (webhelp) no skin needed
Replies: 9
Views: 2976

Re: HTML output (webhelp) no skin needed


I'm afraid that I don't have a lot of experience with XSLT. I looked into it a few years ago and ran through some basic examples, but haven't used transforms for a 'real' project or with Flare. My understanding of the XHTML target in Flare is that you can take this output and use a XSL transform ...
by FrankyT
Wed Aug 15, 2012 2:41 am
Forum: Printed Documentation Targets
Topic: Potential style class confusion with "Use TOC depth..."
Replies: 2
Views: 1209

Potential style class confusion with "Use TOC depth..."

Not a question, but a tip...

If you select "Use TOC depth for heading levels" in the PDF target, remember that any element-specific style classes that you reference in each heading must be specified for the next heading level down if you want them to be implemented in PDF output.

I had defined a ...
by FrankyT
Fri Jun 15, 2012 2:46 am
Forum: Getting Started and Installation Issues
Topic: ERROR: Object reference not set to an instance of an object
Replies: 30
Views: 174491

Re: ERROR: Object reference not set to an instance of an object

The programmer who made Flare should be able to read what is going on but its very hard. Thats why .NET dumps the error messages that for a normal customer are a bit harder to grasp.

"A bit harder to grasp" - that's an understatement :) Most Flare users aren't programmers and probably don't even ...
by FrankyT
Thu May 03, 2012 8:36 am
Forum: Web-based Outputs
Topic: HTML5: JavaScript runs twice if default master page used
Replies: 0
Views: 730

HTML5: JavaScript runs twice if default master page used

If you're generating HTML5 output with custom toolbar JavaScript AND the default master page, you may have noticed that the JavaScript runs twice on page load. This caused me problems in IE9, where the first run of the JavaScript tried to manipulate DOM objects that hadn't yet been drawn - resulting ...
by FrankyT
Wed May 02, 2012 2:42 am
Forum: Web-based Outputs
Topic: HTML5: Search results - abstracts not appearing
Replies: 8
Views: 3876

Re: HTML5: Search results - abstracts not appearing

Madcap got back to me with the same response detailed by the previous posters. Well, at least now we know what the problem is and what the workaround is...

Leon - you are correct: you only need to remove the xmlns="http://www.w3.org/1999/xhtml" in the <html> tag.
by FrankyT
Fri Apr 27, 2012 2:50 am
Forum: Web-based Outputs
Topic: Fire Javascript Event on Search (HTML5)
Replies: 3
Views: 2691

Re: Fire Javascript Event on Search (HTML5)

No problem, and glad you could make sense of my answer! I'd needed to do something very similar myself, so fortunately it was fresh in my mind.
by FrankyT
Thu Apr 26, 2012 2:29 am
Forum: Web-based Outputs
Topic: Fire Javascript Event on Search (HTML5)
Replies: 3
Views: 2691

Re: Fire Javascript Event on Search (HTML5)

Hi Thomas,

Firstly, are you aware that you can specify custom JavaScript in HTML5 skins by entering it in the Toolbar settings? -

javascript-in-flare.png

To run a custom function on page load, you need to use this syntax:

function myCustomStuff() {
... Stuff ...
}

window.onload ...
by FrankyT
Wed Apr 25, 2012 10:42 am
Forum: Web-based Outputs
Topic: HTML5: Popup background transparent in IE9
Replies: 8
Views: 4162

Re: HTML5: Popup background transparent in IE9

I noticed that in the target file, Skin was set to "(default)". This must have been the skin I was editing (let's call it MySkin) because changes I made to the skin were being carried through.
Do you have more than one stylesheet, too? I've submitted a bug because the "(default)" option in the ...
by FrankyT
Wed Apr 25, 2012 7:22 am
Forum: Web-based Outputs
Topic: HTML5: Popup background transparent in IE9
Replies: 8
Views: 4162

Re: HTML5: Popup background transparent in IE9

Well... The issue is half-solved. I fiddled with some settings and can no longer get back the semitransparent popup background. I just get the grey one (I preferred the black one, I just wanted to get it working).

I noticed that in the target file, Skin was set to "(default)". This must have been ...
by FrankyT
Wed Apr 25, 2012 5:31 am
Forum: Web-based Outputs
Topic: HTML5: Popup background transparent in IE9
Replies: 8
Views: 4162

Re: HTML5: Popup background transparent in IE9

I've done some more research. For some reason, in the Flare default skin, some styles from the Flare hard-coded class .MCTextPopupBody are being overridden - but by what, I have no idea.

Here's the appearance of popups in the default skin, reported by Firebug:

popup-styles-default-firebug.png ...
by FrankyT
Wed Apr 25, 2012 4:15 am
Forum: Web-based Outputs
Topic: HTML5: Popup background transparent in IE9
Replies: 8
Views: 4162

Re: HTML5: Popup background transparent in IE9

It works fine for me in IE9.
(Using the default 'modern' stylesheet, unmodified)

I'd perhaps try viewing your help on a different PC, just to make sure it's not just your PC.
You seem to have a few style issues in IE9 that I can't reproduce; this and the search box corners.

Hm. My styles for ...
by FrankyT
Wed Apr 25, 2012 3:13 am
Forum: Web-based Outputs
Topic: HTML5: Popup background transparent in IE9
Replies: 8
Views: 4162

HTML5: Popup background transparent in IE9

I've inserted some glossary terms into an HTML5 skin. In Firefox, Chrome and Safari, as intended, the definitions pop up when the user moves the pointer over the glossary arrow icon, with an almost-opaque black background:

popup-ff.png

However, in IE9, the background is completely transparent ...
by FrankyT
Wed Apr 25, 2012 2:52 am
Forum: Web-based Outputs
Topic: Cannot get rid of book icons in HTML5 output
Replies: 9
Views: 3809

Re: Cannot get rid of book icons in HTML5 output

Strange - I haven't encountered this problem. I replaced the entries in Skins > HTML5 > TocEntry to custom icons, and the output was as I wanted. Breyni, did you replace all the icons with your own? I.e.

OpenBookIcon
ClosedBookIcon
TopicIcon
MarkAsNewIcon

Incidentally, did you know you can create ...
by FrankyT
Tue Apr 24, 2012 7:29 am
Forum: Web-based Outputs
Topic: HTML5: Search results - abstracts not appearing
Replies: 8
Views: 3876

Re: HTML5: Search results - abstracts not appearing

PS Where do I file bug reports for Flare?
by FrankyT
Tue Apr 24, 2012 5:31 am
Forum: Web-based Outputs
Topic: HTML5: Search results - abstracts not appearing
Replies: 8
Views: 3876

Re: HTML5: Search results - abstracts not appearing

Thanks Leon. Glad it's not just me, but disappointed that there isn't a solution.
by FrankyT
Tue Apr 24, 2012 5:00 am
Forum: Web-based Outputs
Topic: HTML5: Search results - abstracts not appearing
Replies: 8
Views: 3876

HTML5: Search results - abstracts not appearing

When I run a search on a test help file, the results appear with links and paths, but no abstracts. From the Flare Help, it looks as though abstracts are derived from the start of the topic text if there is no metadata present in the topic. However, I'm getting no abstracts at all. I assume you can ...
by FrankyT
Mon Apr 23, 2012 7:45 am
Forum: Web-based Outputs
Topic: HTML5: Search filter box not displaying
Replies: 2
Views: 1821

Re: HTML5: Search filter box not displaying

Sorry. I should have read the Help. (I know, I know... I only write the stuff...)
by FrankyT
Fri Apr 20, 2012 9:31 am
Forum: Web-based Outputs
Topic: HTML5: Search box radius settings ignored by IE9
Replies: 4
Views: 1946

Re: HTML5: Search box radius settings ignored by IE9

Here's a fudge that seems to get rid of round corners in IE9, for those prepared to use JavaScript. You force the style "border-radius: 0 0 0 0" on the elements you want to reformat. E.g.

function removeRoundCorners(element) {
element.style.cssText += "; border-radius : 0 0 0 0 ...
by FrankyT
Fri Apr 20, 2012 6:55 am
Forum: Web-based Outputs
Topic: HTML5: Search filter box not displaying
Replies: 2
Views: 1821

HTML5: Search filter box not displaying

I am not seeing the search filter box in HTML5 output. Is this normal? I can't find an option to enable or disable search filters. I see there is a "Search Filters" box in the HTML5 target's Advanced settings, but the only option available is "(default)".

The <DIV> for the search filter box shows ...
by FrankyT
Fri Apr 20, 2012 3:58 am
Forum: Web-based Outputs
Topic: HTML5: Search box radius settings ignored by IE9
Replies: 4
Views: 1946

Re: HTML5: Search box radius settings ignored by IE9

Dave Lee wrote:There's also a Search Bar style in the skin, which is the 'outer' box; change the border radius on that style (which is 15px by default).
Already done that. It doesn't work.
by FrankyT
Fri Apr 20, 2012 3:42 am
Forum: Web-based Outputs
Topic: HTML5: Search box radius settings ignored by IE9
Replies: 4
Views: 1946

HTML5: Search box radius settings ignored by IE9

I want a search box without curved corners in HTML5. I have been through all the search widgets in the Skin - Search Filter, Search Heading and Search Input, and set all radius styles to 0px, e.g. BorderTopRightRadius, BorderBottomLeftRadius etc.

This looks how I want in Firefox, Chrome and Safari ...
by FrankyT
Fri Apr 13, 2012 9:34 am
Forum: Web-based Outputs
Topic: WebHelp: JavaScript DOM problems in IE8
Replies: 2
Views: 1700

Re: WebHelp: JavaScript DOM problems in IE8

I solved - or rather avoided - this problem by putting the JavaScript in the Topic Toolbar, rather than the WebHelp Toolbar.

The Topic Toolbar loads after IE has created the buttons on the WebHelp Toolbar. Therefore, its JavaScript has something to work with. (Evidently, Firefox and Chrome process ...
by FrankyT
Fri Apr 13, 2012 4:40 am
Forum: Web-based Outputs
Topic: Customising layout of HTML5 output
Replies: 7
Views: 3780

Re: Customising layout of HTML5 output

A postscript to this thread...

One of my original problems was how to make a script run automatically on page load. As Jerblack pointed out, you do this in HTML5 like this:

function init() {
... stuff ...
}

window.onload=init;

Note that, although this works for HTML5 output, it doesn't work ...
by FrankyT
Fri Apr 13, 2012 4:22 am
Forum: Web-based Outputs
Topic: Executing JavaScript using window.onload
Replies: 1
Views: 1373

Re: Executing JavaScript using window.onload

Latest news: there is a basic difference between what works in WebHelp and what works in HTML5, and you have to use the appropriate syntax to call the function.

In WebHelp, you should do a straight call to your function:

// WebHelp:

function talkToMe() {
alert("Hi.");
}

talkToMe();

However ...