Hi.
I was creating a topic with toggles of expanding text and after compile it (in CHM format)It displayed the Message:
An error has occurred in the script on this page.
Line: 94
Char: 5
Error: Unable to get value of the property 'setAttribute': object is null or undefined
Code: 0
URL: "Project Path"::/helpman_topicinit.js
Do you want to continue running scripts on this page?
And there's no way to fix it.
Any idea??
Thanks a lot
Problem related with helpman_topicinit.js
Moderators: Alexander Halser, Tim Green
-
- Posts: 2
- Joined: Thu Apr 28, 2011 12:30 pm
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem related with helpman_topicinit.js
Hi Albert,
Check your topic carefully. This message means that your topic contains an orphaned expanding text toggle link without a matching table to toggle. They can be difficult to find if you have the link style turned off for them. You can usually find them by searching for the string "toggle" (not case sensitive) in the XML Source tab below the main editor window.
Check your topic carefully. This message means that your topic contains an orphaned expanding text toggle link without a matching table to toggle. They can be difficult to find if you have the link style turned off for them. You can usually find them by searching for the string "toggle" (not case sensitive) in the XML Source tab below the main editor window.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 2
- Joined: Thu Apr 28, 2011 12:30 pm
Re: Problem related with helpman_topicinit.js
Thanks for your prompt Tim,
It's working fine and It's caused exactly for the reasons you explained ,
Stay in touch
It's working fine and It's caused exactly for the reasons you explained ,
Stay in touch
-
- Posts: 33
- Joined: Mon Dec 07, 2015 6:11 pm
Re: Problem related with helpman_topicinit.js
Found this topic while having the same issue with H & M Version 7.
I went through the XML and every instance of "toggle" had a table below it. The page seems to display fine, just that nasty message comes up then I land on the page.
Paul
I went through the XML and every instance of "toggle" had a table below it. The page seems to display fine, just that nasty message comes up then I land on the page.
Paul
- Tim Green
- Site Admin
- Posts: 23186
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Re: Problem related with helpman_topicinit.js
Hi Paul,
There is probably still an orphaned toggle on the page somewhere. Check in the Compiler Messages tab after publishing your project. You will probably find a message relating to the orphaned toggle there. If you continue to have problems mail the project to me at support AT ec-software.com (replace the AT with @) and I will check it for you.Paul Suderman wrote:I went through the XML and every instance of "toggle" had a table below it. The page seems to display fine, just that nasty message comes up then I land on the page.
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 33
- Joined: Mon Dec 07, 2015 6:11 pm
Re: Problem related with helpman_topicinit.js
Found it, fixed it, thanks!