• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Navigate to the next slide with a button inside a Web object or HTML5 Animation

Community Beginner ,
Oct 07, 2019 Oct 07, 2019

Copy link to clipboard

Copied

UPDATE:

Found the answer here:

https://community.adobe.com/t5/Captivate/Javascript-go-to-next-slide-from-Web-Object/td-p/9515980

 

******

Hi! I need to have a button inside an HTML5 animation (oam) or web object which makes the parent window (Captivate) navigate to the next slide. I've seen this working in Storyline with a button inside an HTML5 object which triggers this javascript function when clicked:

Function next(hypedocument, element, event) {

console.log("go to next");

var player  =  parent.GetPlayer(); /* player */

player.SetVar ("next",Math.floor((Math.random() * 100) + 1));

}

 

The user needs to navigate an interactive HTML5 animation in a slide before proceeding to the next one, so that's why I need the button inside the web object to tell Captivate to go to the next slide.

Many thanks in advance for your help.

 

Views

729

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources
Help resources