Highlighted

How to navigate through timeline

New Here ,
Aug 10, 2020

Copy link to clipboard

Copied

Dear All, 

I am stuck with the following problem. Please help me.
I am trying to goto a particular time period (e.g. 20 seconds) on timeline when the Next button is clicked and come back to 10 seconds when the Back button is clicked. I am using these codes (Window.cpAPInterface.navigateToTime (20000) and Window.cpAPInterface.navigateToTime (10000) ) in the Javascript window. But it is not at all working. 
Please guide me , where I am going wrong and how to navigate through the timeline using time in seconds or milliseconds.
Vaibhav K Dhange

Views

34

Likes

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

How to navigate through timeline

New Here ,
Aug 10, 2020

Copy link to clipboard

Copied

Dear All, 

I am stuck with the following problem. Please help me.
I am trying to goto a particular time period (e.g. 20 seconds) on timeline when the Next button is clicked and come back to 10 seconds when the Back button is clicked. I am using these codes (Window.cpAPInterface.navigateToTime (20000) and Window.cpAPInterface.navigateToTime (10000) ) in the Javascript window. But it is not at all working. 
Please guide me , where I am going wrong and how to navigate through the timeline using time in seconds or milliseconds.
Vaibhav K Dhange

Views

35

Likes

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
Most Valuable Participant ,
Aug 10, 2020

Copy link to clipboard

Copied

Probably you want a JS expert, which I am not at all. I tend to use JS only when I cannot achieve my goal with CP's functionality.

My suspicion: you think that time restarts on each slide which is not the case. Have a look at:

http://blog.lilybiri.com/micro-navigation-introduction

I use the explained terms in this action (just an example):

http://blog.lilybiri.com/advanced-to-shared-action-step-by-step-micro-navigation-showcase

Likes

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
Reply
Loading...
New Here ,
Aug 10, 2020

Copy link to clipboard

Copied

Dear Lilybiri,

Thank you very much for your reply and links provided. It helped me a lot.

Kind regards,

Vaibhav

Likes

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
Reply
Loading...
Lilybiri LATEST
Most Valuable Participant ,
Aug 11, 2020

Copy link to clipboard

Copied

You're welcome!

Likes

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
Reply
Loading...
Advocate ,
Aug 10, 2020

Copy link to clipboard

Copied

Looks like you have a couple typos in your code.

Missing one of the  'I's

Also, the 'W' in window needs to be lowercase.

 

window.cpAPIInterface.navigateToTime(10000);

 


 As an afterthought:

If you're using the JavaScript window within Captivate - you can drop the window

cpAPIInterface.navigateToTime(10000);

 

Likes

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
Reply
Loading...
Resources
Captivate User Guide
New Group