Expand/Collapse not working

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

Moderators: Alexander Halser, Tim Green

Expand/Collapse not working

Unread postby John Sawicki » Fri Feb 08, 2019 6:09 pm

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
John Sawicki
 
Posts: 2
Joined: Mon Nov 19, 2018 3:42 pm

Re: Expand/Collapse not working

Unread postby Tim Green » Sat Feb 09, 2019 12:10 pm

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.
User avatar
Tim Green
Site Admin
 
Posts: 20536
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: Expand/Collapse not working

Unread postby John Sawicki » Tue Feb 12, 2019 4:30 pm

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

Thanks

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


Return to Help & Manual 7 Forum

Who is online

Users browsing this forum: No registered users and 8 guests