Skip to main content
Inspiring
August 5, 2012
Answered

advanced action appears looped -Captivate 6

  • August 5, 2012
  • 1 reply
  • 3639 views

    I have an HTML5  project that links out to another URL page on about 5 slides.  Jim was kind eough to inform me that there is a known issue about Captivate linking to URLs that are not hand typed. All of the URLs are hand typed, and all advanced actions are set up so that on the last click fo the button, the slide should advance to the next one, and the URL should open in a new tab (in that order) .  This happens perfectly on the first set, but the second set doesn't advance the slide, it just opens the new window. If you return to the captivate window and click the next button it respawns the new window, never going to the next slide.  I've cleared the project on my webserver, forced slides to be-recreated, rebuilt the advanced action, all with no effect.  Anybody else running into anything simiilar?

This is a bit of a show stopper for me since I don't want to just have to code a button - my hope was to make this run like a native iPad app, but if I can't take away the chrome because users have to have it to navigate it can't be done.

This topic has been closed for replies.
Correct answer Jim Leichliter

are they called in the javascript first, or somewhere ele on the slide? one of those times I wish I wasn't such a noob.:)


Add this to your existing JS code at the bottom:

forward();
open_win();

1 reply

Legend
August 5, 2012

Try using a bit of Javascript to do the advancement instead doing the assignment throught the advanced actions panel.

So in your advanced action get rid of:

Assign cpCmndNextSlide = 1

and do an execute JavaScript action and use this bit of JavaScript:

cpCmndNextSlide = 1;

Publish for HTML5 and test on a real web server.  I typically do testing on my local web server.

Hope that helps,

Jim Leichliter

rhybeka32Author
Inspiring
August 5, 2012

Thanks Jim! Sorry for being a pain - my project is due at 11:59 and I wasn't thinking this would be an issue since the first one worked.   whoops!  I'm doing all of my testing on a live server - the CS major kindly gives everyone a small webspace for use during school, even if they aren't CS majors (which I'm not).  For this javascript, can I combine it with my window.open function?  or does it need to be separate?

Legend
August 5, 2012

Try including it.  It does not need to be separate.