Expand/Collapse not working

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
John Sawicki
Posts: 3
Joined: Mon Nov 19, 2018 3:42 pm

Expand/Collapse not working

Unread post by John Sawicki »

I am using the following script link to expand/collapse all toggles on my page. This button works fine in CHM but not in HTML.

the code

Code: Select all

javascript:HMToggleExpandAll(!HMTogglesAllExpanded)
the error
Uncaught ReferenceError: HMToggleExpandAll is not defined
Thanks
John
User avatar
Tim Green
Site Admin
Posts: 23156
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Expand/Collapse not working

Unread post by Tim Green »

Hi John,

Which skin are you using? If it is a V3 Premium Pack skin you need to use a different command:

http://www.it-authoring.com/info/pp3hel ... ggles.html
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.
John Sawicki
Posts: 3
Joined: Mon Nov 19, 2018 3:42 pm

Re: Expand/Collapse not working

Unread post by John Sawicki »

That's it! I was using a v3 skin. I used the updated code and it worked.

Thanks

John
Post Reply