Skip to main content
Inspiring
Mar 1, 2017 3:33 PM UTC
Question

javascript ehlpdhtm.js could not be executed

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Peter Grainge
Community Expert
Community Expert
Mar 1, 2017 4:04 PM UTC

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

Translate
Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
Captiv8r
Legend
Mar 1, 2017 3:41 PM UTC

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

Translate
KrischuAuthor
Inspiring
Mar 2, 2017 10:15 AM UTC

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

--

Christoph

Translate