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

Controlling TOC using a button in captivate 8

Guest
Jan 06, 2015 Jan 06, 2015

Hi,

We are trying to show/hide TOC using a button. When, the user clicks the button, we were able to show the TOC using the on success-show TOC action. But is it possible to hide the TOC using the same button, but when the user clicks it again/second instance.

Please let me know the possibilities.

Thanks
Vidyalakshmi

987
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
Community Expert ,
Jan 06, 2015 Jan 06, 2015

To prevent the playbar from continuing, I would replace your simple action by a standard advanced or shared action. You can use the Toggle command and a system variable cpCmndTOCVisible that has only two possible values (boolean) 0 and 1:

ToggleTOC.png

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
Adobe Employee ,
Jan 06, 2015 Jan 06, 2015

Hello Vidyalakshmi,

Welcome to Adobe Forums !

This task can be achieved using the Advanced action (Conditional Action) .

You can also check Lilybiri's blog which is regarding the Play/Pause feature but is similar to what you are trying to achieve.

Custom Play/Pause button in Captivate - Captivate blog

You can also set the TOC to be overlay , it will give you a click-able area to show/hide the TOC.

Go to Project > Table of Contents> Settings and change the style to overlay.

Regards

Himanshu

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
Community Expert ,
Jan 06, 2015 Jan 06, 2015

@Himanshu Sorry to clarify: you can only toggle cpCmndTOCVisible when TOC is set in overlay, not when it is separate. And it is easier with the Toggle action I proposed, a conditional action is here not necessary.  I like to keep it simple...

BTW you are pointing to a very old blog post, for toggle buttons in later versions, this one is perhaps a better link: Toggle Shape buttons - Captivate 6 - Captivate blog

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
Adobe Employee ,
Jan 06, 2015 Jan 06, 2015

Thanks Lieve,

Yes you are right. Using toggle will be much easier for the user.

Regards

Himanshu

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
Community Beginner ,
Mar 21, 2018 Mar 21, 2018
LATEST

Thanks Himanshu,

Your steps really helped me out!

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
Help resources