Search found 50 matches

by Thomas Tregner
Wed Jan 30, 2013 12:46 pm
Forum: Styles, Stylesheets and XML
Topic: Lost formatting for images once moved
Replies: 13
Views: 4138

Re: Lost formatting for images once moved

If you used Capture to edit the images: Using Windows Explorer, check the old folder for <image name>.<extension>.props files. You won't see these files in Flare's Content Explorer. These are XML files which store your original image and changes to it. If these are still there, you can copy these to...
by Thomas Tregner
Thu Jan 24, 2013 9:16 am
Forum: Web-based Outputs
Topic: How to have standalone topic launch with 3-pane display?
Replies: 3
Views: 1272

Re: How to have standalone topic launch with 3-pane display?

This isn't the full CSH with header files and aliases approach. But if you just want a URL with the qualifiers to open a specific topic with navigation, you can do this: Ensure you have the Open topic with navigation link included in your output. Open the topic from the URL for the topic location ra...
by Thomas Tregner
Fri Jan 04, 2013 10:29 am
Forum: Getting Started and Installation Issues
Topic: HTML5 output in Action!
Replies: 28
Views: 5110790

Re: HTML5 output in Action!

Just switched some content from WebHelp to HTML5 today:
https://www.blackbaud.com/files/support ... r-help.htm
by Thomas Tregner
Thu Jan 03, 2013 1:09 pm
Forum: Web-based Outputs
Topic: How did I break my WebHelp TOC?
Replies: 1
Views: 723

Re: How did I break my WebHelp TOC?

Some things to try: Compare the Conditional Text settings on the PDF and WebHelp targets. Compare the conditions applied to each TOC. Compare the conditions applied to the topics which appear. Check the TOC selected in the WebHelp target. It may sound obvious. But I've done that a few times. Check t...
by Thomas Tregner
Wed Jan 02, 2013 11:35 am
Forum: Flare's General Discussion
Topic: Glossary upper case vs. lower case
Replies: 4
Views: 2610

Re: Glossary upper case vs. lower case

You can use a transformation (XSLT) on the glossary to create a copy which includes only the first term for a definition in a glossary entry. Then you can use the copy for the stand-alone version. Here is the transformation: <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet ...
by Thomas Tregner
Wed Jan 02, 2013 9:36 am
Forum: Web-based Outputs
Topic: How to set a non-scrolling header for WebHelp output?
Replies: 7
Views: 2994

Re: How to set a non-scrolling header for WebHelp output?

Inge, That looks like a nice solution. In the context of a project which includes your JavaScript, I would definitely leave the height alone as you suggested. If a fixed height for the header is a deal breaker, I can't think of an unscripted, CSS-only solution. Setting an ID attribute would take a l...
by Thomas Tregner
Wed Jan 02, 2013 6:47 am
Forum: Web-based Outputs
Topic: How to set a non-scrolling header for WebHelp output?
Replies: 7
Views: 2994

Re: How to set a non-scrolling header for WebHelp output?

1. I don't recommend setting the ovreflow of the header to "hidden": What if the heading is long and the line breaks? You cannot read it then. Put it to "auto" instead. 2. You might get away with not stating a height at all. With "overflow: auto;" the content will (hop...
by Thomas Tregner
Mon Dec 31, 2012 10:26 am
Forum: Web-based Outputs
Topic: How to set a non-scrolling header for WebHelp output?
Replies: 7
Views: 2994

Re: How to set a non-scrolling header for WebHelp output?

Scott DeLoach posted a tip about this for everyday HTML and CSS at ClickStart: http://www.csstothepoint.com/nonscrollingheader.htm Scott's example is a good starting point for the basic technique. It doesn't work in WebHelp or HTML5 topic containers as far as I know. But this does: div.Header { posi...
by Thomas Tregner
Fri Dec 28, 2012 2:34 pm
Forum: Web-based Outputs
Topic: Merging multiple files
Replies: 5
Views: 1808

Re: Merging multiple files

An XHTML book target will produce one HTM file with other supporting files which can be viewed as single page from a web browser.
http://webhelp.madcapsoftware.com/flare ... Output.htm
by Thomas Tregner
Thu Dec 20, 2012 1:53 pm
Forum: Web-based Outputs
Topic: What box am I forgetting to check?
Replies: 8
Views: 2579

Re: What box am I forgetting to check?

Maybe Advanced > Exclude content not linked directly or indirectly from the target...
But I haven't tested it as a performance improvement.
by Thomas Tregner
Thu Dec 20, 2012 1:22 pm
Forum: Web-based Outputs
Topic: Default_CSH.htm, Default_Left.htm, and Pane Position
Replies: 5
Views: 2613

Re: Default_CSH.htm, Default_Left.htm, and Pane Position

If anyone else runs into this, you can adapt this PowerShell script and run it on your output after a build: $CshFile = Get-ChildItem -Path "C:\Example" -Filter *_CSH.htm -Recurse for($i = 0; $i -lt $CshFile.Count; $i++) { Copy-Item ($CshFile[$i].FullName.Substring(0, $CshFile[$i].FullName...
by Thomas Tregner
Thu Dec 20, 2012 8:41 am
Forum: Web-based Outputs
Topic: Default_CSH.htm, Default_Left.htm, and Pane Position
Replies: 5
Views: 2613

Re: Default_CSH.htm, Default_Left.htm, and Pane Position

That is a strong argument to leave it alone. I don't want to add a post-build step even if it is automated and I don't want _Left to propagate after the conversion. I guess we will have to balance current needs against future needs.
by Thomas Tregner
Thu Dec 20, 2012 8:37 am
Forum: Styles, Stylesheets and XML
Topic: ListOf proxy with cell borders on output
Replies: 4
Views: 2714

Re: ListOf proxy with cell borders on output

See Dave's reply above. I didn't see it before I posted. My first recommendation is to rethink applying formatting to the base td tag in your stylesheet. Instead I would add a class to use for tables in your content and apply that class everywhere. However you can style the generated classes with yo...
by Thomas Tregner
Thu Dec 20, 2012 4:25 am
Forum: Web-based Outputs
Topic: Default_CSH.htm, Default_Left.htm, and Pane Position
Replies: 5
Views: 2613

Re: Default_CSH.htm, Default_Left.htm, and Pane Position

I agree that for most cases, links will convey. This is almost an edge case. But the user behavior is what you described. Users have opened topics in a new tab via the link in the TOC, clicked the open topic with navigation link, and copied the resulting URL to share specific content with others.
by Thomas Tregner
Wed Dec 19, 2012 12:16 pm
Forum: Web-based Outputs
Topic: Default_CSH.htm, Default_Left.htm, and Pane Position
Replies: 5
Views: 2613

Default_CSH.htm, Default_Left.htm, and Pane Position

Background Using WebHelp with WebHelp Setup > Navigation Pane > Pane Position > Left selected, a Default_Left.htm file is generated. Depending on the Pane Position selection, Default_Right.htm, Default_Top.htm, or Default_Bottom.htm may be generated. The optional "Open topic with navigation&qu...
by Thomas Tregner
Tue Dec 18, 2012 12:25 pm
Forum: Web-based Outputs
Topic: html5 glossary-pluarl terms
Replies: 4
Views: 4227

Re: html5 glossary-pluarl terms

Please post your improvements to this if you make any. I would also like to do this. There are at least two ways. One is to keep a dictionary of terms to remove. The other is to use rules to identify terms to remove. At the bottom is a script that implements three common rules in English to act on t...
by Thomas Tregner
Tue Dec 18, 2012 6:13 am
Forum: Web-based Outputs
Topic: How to include a "Parent topic" link in HTML5?
Replies: 3
Views: 1669

Re: How to include a "Parent topic" link in HTML5?

Sorry. If you want to use the breadcrumbs proxy, you can set mc-breadcrumbs-count to 2 and create a span style to hide the final breadcrumb with no link. span.MCBreadcrumbs { display: none; } MadCap|breadcrumbsProxy { mc-breadcrumbs-count: 2; mc-breadcrumbs-divider: ' '; mc-breadcrumbs-prefix: ' '; }
by Thomas Tregner
Mon Dec 17, 2012 1:53 pm
Forum: Web-based Outputs
Topic: HTML5: Can the Search Bar Location be Changed?
Replies: 2
Views: 1177

Re: HTML5: Can the Search Bar Location be Changed?

I don't think it is something you can do from the Skin Editor so the answer is not easily. This is something I wanted to try. I moved it in an output's main help file and it worked. But you could also possibly adjust the common WebHelp2 skin file called Default.htm in your installation located here:...
by Thomas Tregner
Mon Dec 17, 2012 12:53 pm
Forum: WebHelp Mobile
Topic: Modifying the search button
Replies: 3
Views: 5620

Re: Modifying the search button

You can modify the common stylesheets used by WebHelp Mobile targets. Located here: C:\Program Files (x86)\MadCap Software\MadCap Flare V8\Flare.app\Resources\WebHelpMobile\Advanced\Skins\Default\Stylesheets In particular, you can modify this style in Header.css: #searchSubmit { margin: 0px 0px 0px ...
by Thomas Tregner
Mon Dec 17, 2012 6:42 am
Forum: Printed Documentation Targets
Topic: Page number positioning in a Page Layout
Replies: 3
Views: 1376

Re: Page number positioning in a Page Layout

I usually use tables since they are so convenient. But if you want an alternative, you can follow this pattern: CSS div.col1 { float:left; width:34%; } div.col2 { width:33%; display:inline; } div.col3 { float:right; width:34%; } HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN...
by Thomas Tregner
Thu Dec 13, 2012 1:09 pm
Forum: Web-based Outputs
Topic: Social Media
Replies: 4
Views: 2248

Re: Social Media

The copy paste link and JavaScript from http://twitter.com/about/resources/buttons worked fine in the Master Page in HTML5 when I placed it on a web server. It can't pull the URL if you test locally. But you can also do it with a toolbar button in the HTML5 skin. Add this to the Toolbar JavaScript: ...
by Thomas Tregner
Tue Dec 11, 2012 8:13 am
Forum: Web-based Outputs
Topic: How to include a "Parent topic" link in HTML5?
Replies: 3
Views: 1669

Re: How to include a "Parent topic" link in HTML5?

That would work. In your stylesheet, set mc-breadcrumbs-count to 1. To change the text before the breadcrumb(s), edit mc-breadcrumbs-prefix.
by Thomas Tregner
Sun Dec 09, 2012 1:12 pm
Forum: Web-based Outputs
Topic: sort HTML5 TOCs with JavaScript
Replies: 0
Views: 642

sort HTML5 TOCs with JavaScript

Here is a sample and blog post about a JavaScript to alphabetically sort the top nodes in an HTML5 output TOC:
http://tregner.com/flare-blog/sorting-t ... avascript/
by Thomas Tregner
Thu Dec 06, 2012 11:47 am
Forum: Web-based Outputs
Topic: HTML5 toolbar button: JavaScript to download a PDF file?
Replies: 3
Views: 3061

Re: HTML5 toolbar button: JavaScript to download a PDF file?

If you don't want a button, you can also insert links with JavaScript. You could handle styling with JavaScript manipulation or with a stylesheet. This will just add a 'div' containing an 'a' hyperlink to the left button container. function linksLoad() { var links = document.createElement('div'); va...
by Thomas Tregner
Tue Nov 27, 2012 11:21 am
Forum: Flare's General Discussion
Topic: Google Translate Script
Replies: 5
Views: 5715

Re: Google Translate Script

Here is a clean description of how to show and hide an element: http://girlswhogeek.com/tutorials/2007/show-and-hide-elements-with-javascript Look at the markup for the bar while displayed in a web browser. From Chrome, you can right-click and select Inspect element. From IE, you can press F12 and u...