Hiding navigation based on cpInfoCurrentSlide
January 8, 2019
Hiding navigation based on cpInfoCurrentSlide
January 8, 2019
Newbie 9 posts
Followers: 1 people

Hi,

I placed navigation buttons on the first slide and I’m using an advanced script “on enter” for each slide that will determine whether to hide or show the navigation buttons.

My problem is that it’s not showing up based on the slides entered.  It starts off hidden and no matter where I go it doesn’t show.  Please see the images for the logic.  I attached this script to the on enter for all slides.

Thank you!

Todd

All Comments
Sort by:  Most Recent
Jan 10, 2019
Jan 10, 2019

I have published a blo for your use case. You will see the comparison between the advance d action you are using and a shared action which I created after a lot of testing. It is now fully functional and  you can download it and use in your courses if you want. No problem with editing the advanced action if you change the sequence of slides or add/delete slides. It may seem a drawback that you have to attribute that shared action to each slide individually, but the advantages are much bigger than this inconvenience.

https://elearning.adobe.com/2019/01/hiding-custom-navigation-buttons-advanced-shared-action/

Like
()
Jan 9, 2019
Jan 9, 2019

Thank you for your answer.  I appreciate your time.  I mixed up cpInfoCurrentFrame and cpInfoCurrentSlide.

Like
()
(1)
Jan 9, 2019
Jan 9, 2019
>
toddr1
's comment

Indeed, but you could do it with one conditional action. However I strongly recommend to group the buttons, you can hide/show a group?

I am busy trying to find a solution with a shared action, because there are several drawbacks with the Advanced Action solution.

Like
()
Jan 9, 2019
Jan 9, 2019

Here is a link to the Advanced Actions dialog box description:https://elearning.adobe.com/2017/05/advanced-actions-outfit-since-cp2017/ 

Like
()