Using javascript to jump to last slide in project (not based off of slide index or name)

Hi there, I’m wondering if anyone knows a way to use javascript to jump to the last slide of the project if you don’t know the amount of slides in the project? Obviously I can look at how long the project is everytime and put in the slide index number like –

window.cpCmndGotoSlide = 15;

but I’m wondering if there isn’t some way to identify the last slide of the project, so that if the number of slides changes I don’t have to go back and change my code?

Any help is much appreciated.

Thanks.

The post Using javascript to jump to last slide in project (not based off of slide index or name) appeared first on eLearning.

Read the full story by

Tags:

RELATED READS
Captivate 2019 Release Update 1 – Already? 360 image scaling
We are updating our Privacy Policy, so please make sure you take a minute to review it. As of May 25, 2018 your continued use of our services will be subject to this new Privacy Policy.
Review Privacy Policy OK