Skip to main content
Inspiring
March 1, 2017
Question

javascript ehlpdhtm.js could not be executed

  • March 1, 2017
  • 2 replies
  • 438 views

In a page I have the following HTML:

<?rh-s

<?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript"

                             language="JavaScript1.2"></script><?rh-script_end ?>

cript_sta

<?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript"

                             language="JavaScript1.2"></script><?rh-script_end ?>

rt ?><script src="../../ehlpdhtm.js" type="text/javascript"                             language="JavaScript1.2"></script><?rh-script_end ?>

And later:

<span

l <span

     style="color: #3366FF;"><a href="javascript:BSSCPopup('../../../../SomeDir/OtherDir/YetAnotherDir/Konfiguration.htm');"

                                 id="a1">Konfiguration</a></span>

     style="color: #3366FF;"><a href="javascript:BSSCPopup('../../../../SomeDir/OtherDir/YetAnotherDir/Konfiguration.htm');"

                                 id="a1">Konfiguration</a></span>

When I test the chm and click on the link,I'm getting a javascript error, saying:

I assume, that the path is wrong. How can I add this external .htm to my project such that it is compiled into the .chm?

Otherwise I would have to carry around a bunch of external .htm files with my final chm.

This topic has been closed for replies.

2 replies

Peter Grainge
Community Expert
Community Expert
March 1, 2017

See if Item 6 at http://grainge.org/pages/snippets/snippets.htm#chms helps.

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Captiv8r
Legend
March 1, 2017

I'm not sure if it's just some sort of typographical error, but your post has this:

If this isn't a typo, try removing the part I highlighted.

Cheers... Rick

KrischuAuthor
Inspiring
March 2, 2017

Thanks, Rick, it was indeed a typo in my post (due to pasting into a code section).

--

Christoph