Skip to main content
Participant
August 18, 2014
Question

Robohelp 11 dhtml javascript errors (HHComponentActivator” is undefined

  • August 18, 2014
  • 1 reply
  • 585 views

Would greatly appreciate some help with this issue, I haven't been able to find anything online about it.

I'm using  RoboHelp 11.02 (just upgraded from 11.01) on a 64 bit Windows 7 PC. When I try to Insert DHTML Effects, such as when a file has loaded, fade it in, I get the error "line 4233 char 2 Unable to get property ‘alpha’ of undefined or null reference code 0 File .../ehlpdhtm.js"

Here's that part of the code.

4231 CAgencyAlpha.prototype.PrepareEffect = function()

4232    {// to set the visual filter function

4233    // the visual filter ONLY work when set by "Width and Height" or

4234    // absolute position for DIV, SPAN and normal tag ( such as p )

4235    // but, "absolute" cause the following elements overlap, so:

4236    CCSSP.PrepareFilter( this.ele );

4237    CCSSP.ShowObject(this.ele, !this.bIsIn );

4238 }

and when I try to View a Browser Sequence (in another project) that I've added (to a Microsoft Help file), I see the message “line 354, char 4 error “HHComponentActivator” is undefined code 0"

But line 354 is //End to support previous generic parameters.

I searched for HHComponentActivator and found a few lines later,


357 function BsHHActivateComponents()

358 {

359  if( HH_ActiveX && (HH_ChmFilename != "") && ((self == top) || (self == top.frames[0])))

360  {

361  var objBody = getElementsByTag(document,"BODY")[0];

362  if( typeof(objBody) == "object" )

363  {

364  insertAdjacentHTML(objBody, "beforeEnd", '<OBJECT ID="HHComponentActivator" CLASSID="CLSID:399CB6C4-7312-11D2-B4D9-00105A0422DF" width=0 height=0></OBJECT>');

365  if (HHComponentActivator.object)

366  HHComponentActivator.Activate(HH_ChmFilename, HH_WindowName, HH_GlossaryFont, HH_Glossary, HH_Avenue);

367  }

368  }

369}

Any help is appreciated, I'd really like to get this resolved!


This topic has been closed for replies.

1 reply

Captiv8r
Legend
August 19, 2014

Hi there

See if the following thread helps.

Re: HHComponentActivator

Cheers... Rick