Problem:
Is there a Java Script which allow to hide a slide in the TOC? I like to hide a slide by click on a button in the online training. Should have the same funktion as to do it in the TOC settings.
I´m very impressed … Yupp this is working, the slide is not longer visible in the TOC. Unfortunatly it is still active as slide, may is there an option to hide it also in the training/presentation/course ?
Aaand ( yes one question more ) is it possible to hide more than one, maybe slide 3 to 12?
Only for completion: Is it also possble to show a hidden slide in TOC? May I put your code in the loading settings of the project, so that the slide is hidden from the beginning, a click on a button show it later?
It is not possible to hide the slide in the course because it is still visible in the progress bar. However, you can prevent viewers from visiting that slide by using Variables & Condition in its On Load action (see sample below): HideSlide2.approj (324 KB)
For hiding more than one, you can use the code below:
$('.ap-toc-entry').filter(function( index ) { return index >= 3 && index <= 12}).hide();