Skip to main content
julied75226845
Participant
February 14, 2016
Question

Can I jump to a particular page using the back button in the control bar?

  • February 14, 2016
  • 3 replies
  • 857 views

I have created a Captivate file using a PowerPoint file. Slide 9 contains a menu. Each menu item opens up a series of pages (contained in slide 10-21). When the last topic on the menu page has been explore, the course navigates from the menu on Slide 9 to a Knowledge Check slide (slide 22). However, if once I'm on Slide 22, when I click the Back button in the control panel, I get sent to the last slide in the last topic (slide 21). I want to go back to the menu on slide 9. Is there a way change the navigation for the Back button for just slide 22? Thanks!

This topic has been closed for replies.

3 replies

TLCMediaDesign
Inspiring
February 15, 2016

This should work for HTML5, it can be done for swf also. Place the script in the head of the index.html.

var interfaceObj, eventEmitterObj;

window.addEventListener( "moduleReadyEvent", function( e )
{
interfaceObj = e.Data;
eventEmitterObj = interfaceObj.getEventEmitter();
    initializeEventListeners();
});

function initializeEventListeners()
{
if ( interfaceObj )
{
     if ( eventEmitterObj )
  {
         eventEmitterObj.addEventListener( "CPAPI_SLIDEENTER", function( e )
   {
    if ( window.cpInfoCurrentSlide == 21 && window.cpInfoLastVisitedSlide == 21 )
    {
     window.cpCmndGotoSlide = 8;
    }
            });
  }
}
}

julied75226845
Participant
February 15, 2016

Wow! Thank you so much!!!

TLCMediaDesign
Inspiring
February 16, 2016

Did it work for you?

Lilybiri
Legend
February 15, 2016

This will not be possible (unless you have a very good programmer) to realize this goal with the default playbar at all. Use custom navigation buttons. Control panel (normally labeled 'playbar') doesn't allow that kind of control.

Paul Wilson CTDP
Community Expert
Community Expert
February 15, 2016

I think in this case you will need to create your own navigation controls to do something that advanced.

Paul

Paul Wilson, CTDP
Participating Frequently
May 19, 2017

How would one create their own navigation bar? Is it difficult?

Thanks,

Kathleen