FlashHelp Tech Tip: Removing IE’s “Click to activate and use this control” Message

May 28th, 2008

Microsoft lost a lawsuit, so they had to change the way that Internet Explorer handles items in <object> tags. That means Flash content. Before RoboHelp 6 I think it was, both the toolbar and the left pane suffered from Microsoft’s solution: When you hover over a Flash movie, it is outlined in gray, and a tooltip appears, announcing, “Click to activate and use this control.” An extra click was required before using the toolbar and the left pane. (In RH 6 and 7, only the nav pane gets this message.)

Very annoying.

Since not only did it annoy me to have to click a couple of extra times, I try to avoid stirring up irritation in my users if I can help it. Microsoft’s workaround is to use a JavaScript document.write function in an include file to write the >object< code into the page. But the way FlashHelp is set up, it’s not that simple.

Here’s how to make it work.

  1. In your FlashHelp output files, open wf_navpane.htm in a text editor, such as Notepad.
  2. Open a new, blank text file in the text editor. Type in the following code:


    function insertLeft() {

    }

  3. Save your text file as a .js (select “All files” in the Save as type dropdown, and include the “.js” file extension in the name that you give the file). Save the file in the same directory as wf_navpane.htm.
  4. In wf_navpane.htm, insert the following line beneath the line that references whver.js, given that you named your text file “myfile.js”:


    <script language="javascript1.2" src="myfile.js"></script>

  5. In wf_navpane.htm, highlight all the code between:


    ///////////////////////////////
    //
    // Insert the "Master" SWF
    //
    ///////////////////////////////

    ..and:

    </script>
    </body>
    </html>

  6. Cut the highlighted code (Ctrl + X or right-click < Cut), and in its place, enter:


    insertLeft();

  7. Paste the code from wf_navpane.htm into your .js file between the curly brackets. The last thing before the end bracket should be:


    document.write(strObject);

  8. Save both wf_navpane.htm and your .js file.
  9. Open up your FlashHelp system and move your mouse to the left pane. There should be no “Click to activate” message.

Note that every time you generate your output, wf_navpane.htm will be overwritten. Keep your altered version elsewhere so you can drop it in with the output files when needed.

If you’re using RH X5, this same fix applies to wf_master.htm. Cut out the code that contains the <object> tags and put them in your .js file in a function called something like “insertMaster().” Then put a reference to your .js file and an “insertMaster” function call in wf_master.htm like you did in wf_navpane.htm.

3 Responses to “FlashHelp Tech Tip: Removing IE’s “Click to activate and use this control” Message”

  1. Rick Stone Says:

    Hi Ben

    As I understand it, Microsoft was allowed to recently revert the behavior back to what it was before the wonderful “Click to activate” was installed. So workarounds should no longer be needed for this.

    Cheers… Rick :)

  2. Ben Says:

    Thanks, Rick.

    This post I found today indicates that IE would be updated this past April. I expect, however, that this is specific to version 7, so if your user research tells you that you have a number of users still using IE 6, you may still want to implement this fix until those users move to IE 7.

  3. Ben Says:

    I just ran some FlashHelp outputs on Friday, and I viewed them in IE 6 because we still have a number of users with that browser. The left pane didn’t get the activate message, so it looks like Microsoft did fix things there. So much for being helpful! :)

Leave a Reply