• About
  • Contact
  • Presentations
  • WordPress Consulting
  • WordPress Courses
  • Advertising
  • Podcasts
  • Jobs
  • Tech Comm Pipe

  • Flare Context Sensitive Help – Focusing the Minimized Help Window Back on Top

    January 8th, 2009 | Posted in Technical Writing 3 Comments »

    Context-sensitive help in Madcap Flare is pretty easy to set up – you just follow the steps in Flare’s context-sensitive help instructions. However, there’s a usability problem that you must work around for the context-sensitive help to be successful.

    Let me explain. When the user clicks a context-sensitive help link, a help window appears, as it should. But suppose the user doesn’t close the help window, but instead clicks back to the application. The help window minimizes. Now the user then clicks another context-sensitive help link. The new help topic loads in the existing help window, sure enough, but that help window remains minimized. The minimized help window doesn’t automatically come to focus on top. As a result, the user thinks the help link is broken.

    Fortunately, the solution is simple.

    1. Go to C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\WebHelp or wherever you installed Flare.
    2. Open Default.js in Notepad.
    3. Search for window.open( cshString, “_MCWebHelpCSH”, browserOptions + size ); and delete it. Note: If you copy this string from this post, make sure you retype the quotation marks, since my stylesheet renders then as curly quotes instead. The quotation marks should be straight.
    4. Insert these two lines in its place:
    5. var newWindow = window.open( cshString, “_MCWebHelpCSH”, browserOptions + size );

      newWindow.focus();

      Note: See note in step3 about making the curly quotation marks straight. Otherwise it won’t work.

    6. Completely wipe away the previously published target and reupload or republish your files.

    Now when the user clicks subsequent context-sensitive help links, even if the help window is minimized, it will come to focus on top. Perfect.

    Tip: If you use Madcap Flare, I highly recommend that you subscribe to Eddie VanArsdall’s blog: Simplifying Complexity. Eddie is a certified Flare instructor and provides tips about Flare on his blog.

    Note: As always, Flare doesn’t support changes to the core files. When you upgrade to Flare 4.2, your changes will be lost. In that case, keep this post handy.

    Coding the Javascript Help Link

    By the way, if you read Flare’s instructions for implementing context-sensitive help in a web application, the javascript example is generally given as follows:

    <input type=”button” value=”Open Help System” onclick=”FMCOpenHelp( 1000, null, null, null );” />

    This link creates a button. If you don’t want the button, code the javascript link like this:

    <a href=”javascript:FMCOpenHelp (1000, null, null, null);”>Help</a>

    These icons link to social bookmarking sites where readers can share and discover new web pages.
    • del.icio.us
    • StumbleUpon
    • Facebook
    • LinkedIn
    • TwitThis

    Tags: , , ,

    3 Responses to “Flare Context Sensitive Help – Focusing the Minimized Help Window Back on Top”

    1. [...] Here is a great reference from Idratherbewriting.com regarding how to open a minimized help window in a Flare project. It requires tweaking the default.js file. I’m sure I’ll need this information sometime soon, so I thought I’d send out props and get this linked – http://www.idratherbewriting.com/2009/01/08/flare-context-sensitive-help-%e2%80%93-focusing-the-mini... [...]

    2. erica says:

      Tom,

      I have a friend who needs some help, but Twitter is acting up and I’m not sure my D is going through to you.

      Can you please ping me by email or @juicywebdesign by Monday, if I forget to email you?

      Just running out the door and switched email clients so I can’t find my addressbook/your email address.

      Cheers,
      Erica

    3. [...] Flare Context Sensitive Help – Focusing the Minimized Help Window Back on Top – [...]

    Leave a Reply

    « »