Search found 56 matches

by FrankyT
Fri Apr 13, 2012 3:49 am
Forum: Web-based Outputs
Topic: Executing JavaScript using window.onload
Replies: 1
Views: 1373

Executing JavaScript using window.onload

I'm puzzled by an apparent discrepancy in the way JavaScript is called in WebHelp and HTML5 help using the window.onload command.

I've written a JavaScript function that reformats the main toolbar when the help file is loaded. I first incorporated this function into HTML5 Help (successfully) and am ...
by FrankyT
Thu Apr 12, 2012 7:14 am
Forum: Web-based Outputs
Topic: Customising layout of HTML5 output
Replies: 7
Views: 3780

Re: Customising layout of HTML5 output

My question is considerably more basic.... How can I position a logo so that its left border aligns with the left of the page. It appears that the default placement indents the logo something like 20 pixels from the left. This looks especially awkward in our layout...

Try this in the Toolbar ...
by FrankyT
Thu Apr 12, 2012 3:52 am
Forum: Web-based Outputs
Topic: WebHelp: JavaScript DOM problems in IE8
Replies: 2
Views: 1700

WebHelp: JavaScript DOM problems in IE8

I've written some JavaScript that inserts an extra table cell after the logo in the Toolbar frame of WebHelp output. This extra cell contains an H1 heading, which is the title of the Help.

The code works fine in Firefox and Chrome, but won't run in IE8. Here it is:


function addHeading ...
by FrankyT
Thu Apr 05, 2012 2:35 am
Forum: Web-based Outputs
Topic: Customising layout of HTML5 output
Replies: 7
Views: 3780

Re: Customising layout of HTML5 output

I was not able to figure out how to use variables to accomplish this, but I was still able to fix it for my project. I took your code, changed the style formatting a bit (I'm not using a logo, just text) and instead of setting specific text for the title, I have it written to set the title to the ...
by FrankyT
Wed Apr 04, 2012 9:49 am
Forum: Web-based Outputs
Topic: Customising layout of HTML5 output
Replies: 7
Views: 3780

Re: Customising layout of HTML5 output

Hey Jerblack - thanks, all I needed was that window.onload command.

(Funny - all the other suggestions on this forum, for similar problems, involved using an onload attribute in a <body> tag. The problem is that Flare seems to disable onload attributes in page <body>s: during compilation, it moves ...
by FrankyT
Wed Apr 04, 2012 4:07 am
Forum: Web-based Outputs
Topic: Customising layout of HTML5 output
Replies: 7
Views: 3780

Customising layout of HTML5 output

My company is currently evaluating Flare.

We want to create a company template for HTML5 Help output, whose layout differs slightly from the default. Specifically, we want to add the name of each individual product to the right of the logo.

There does not seem to be an easy way of doing this. The ...