Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

RH7 compiled topics won't display and throw an IE (syntax) script error

Guest
Apr 27, 2012 Apr 27, 2012

Pundits,

I am using RH 7 to create projects of about 600 topics. My OS is Windows XP Pro 2002, SP-3. My problem is that approximately 10% of the topics in my .chm file prompt an IE script error msg when I, or anyone else, tries to open them.

Here's the error msg:

IE_script_error.png

When this window displays, user can click on either Yes or No and topic will display normally; the next time a user attempts to open this topic, same error displays, with same Yes/No click behavior.

When I look at the html for any of the "bad" topics (i.e., topics that won't display), there is always this one extra line of code, referring to the ehlpdhtm.js file in my project folder:

<script language="javascript" src="ehlpdhtm.js"></script>

BadTopic.jpg

This line is never in the html of the "good" topics.

Can anyone shed any light on what's causing this, and what I can do to remedy the situation?

Thanks in advance.

Dennis

1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 30, 2012 Apr 30, 2012

Hi and welcome to the forum.

ehlpdhtm.js contains the script for DHTML effects. What kind of DHTML effects (dropdowns etc.) do you use?

Greet,

Willam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 01, 2012 May 01, 2012

William,

Thanks very much for getting back to me.

I'm not sure if these are considered DHTML effects, but here's a list of some functions that may fit that category:

1) Many of my topics contain pop-ups.

2) Most of them have an "increase font size" graphic that, when clicked, cycles the topic's font to 2x, 3x, 1x.

3) They all have a "print" icon.

One other "clue" that may shed some light on this problem behavior is the fact that for each of the "bad" topics, if I duplicate the topic (from within RH), allow the new topic to keep all of the properties of the "bad" topic, place the new topic alongside the bad topic in my TOC, then compile the project, the new topic will display correctly when it's selected and not throw up the IE script error.

Thanks again.

DC

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 04, 2012 May 04, 2012

William,

I have gone thru my project now and, as I stated in my May 1 mail to you, I have made duplicates of all of the "bad" topics and all of these new topics are now displaying correctly.

Now I have a related, but different issue.

Only one topic is causing that same error msg to display (refer to my original April 27 post: IE script error/syntax error; Line 13, character 1).

The only topic that throws that error msg is the initial topic that displays when the .chm file is opened (i.e., the topic that is specified as the "Default Topic" in the HTML Help Options window when I click the Generate Layout button in the SSL pod.)

Furthermore, the topic that throws the error message will only do so if it is the one specified as the Default Topic.

As an example, if I have the topic Apple specified as the Default Topic, when the .chm file is opened the error msg window will display; when the user clicks either Yes or No to the "Do you want to continue running scripts?" query, the Apple topic will display normally. Each time that topic is selected it will throw the same error msg. window.

If I go back to my project in RH and change the Default Topic to the Pear topic, re-compile the project, when the .chm file is opened the error msg will display; when you click Yes/No the Pear topic will display normally (until it's selected again). The Apple topic now displays fine at all times.

This tells me that the problem seems not to be with the Apple topic, as I'd suspected, but with something that's going on with RH and how it displays the initial topic in a compiled project. I think.

Any ideas on how I can remedy this issue?

Thanks in advance.

Dennis

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 08, 2012 Aug 08, 2012

Dear dcathey2314,

I got the same error script message in the .chm file when using DHTML effect (drop down) in my topics. I'm using RH 9 to generate this help file. Please tell me how to solve this issue. Thanks so much.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 07, 2012 Sep 07, 2012

Hi,

I have a similar error message with DHTML Effects in Robohelp 9. I see the error message while previewing the topic. needless to say that, the error continues to rise after generating Flash help too.

c.png

Please let me know the fix for this.

Thanks in Advance,

Kamy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 07, 2012 Sep 07, 2012

Hi All,

My issue got resolved. There was an extra line in the ehlpdtm.js file in the line number mentioned in the error message. I opened the file in a notepad, located this extra line, deleted the line and saved the file.

The hotspots worked very well. I cross-checked in flashhelp and it was successful.

*The extra line was referring to conflicts in versions updated to SVN repository. If you are using some version control, then, check for a code inserted by the version control referring to the revision # arising out of conflicts*

Hope this was helpful...

Thank you,

Kamy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Sep 07, 2012 Sep 07, 2012
LATEST

Thank you very much for sharing this!

I'm glad your problem was resolved .

Dennis

Sent from my iPhone

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp