Skip to main content
Inspiring
January 25, 2017
Question

connect to a external js file

  • January 25, 2017
  • 1 reply
  • 292 views

Hey,

Is there a way to connect a external js file to a captivate export?

I know there's the add javascript  action on the slides, but I need it to effect every slide. At the moment is looks like I'll have to copy and past my actions on to every page. It would be nice to just paste it once it and not have multiple copies in the project.

This topic has been closed for replies.

1 reply

Lilybiri
Legend
January 25, 2017

Why not reference that external js file in the index.htm?

Inspiring
January 25, 2017

i tried that on top of the page, and it wasn't working.

I'm not sure if there's a specific way to do it in captivate to get it to read it properly.

I have a style.css file that works just fine on the index.html.

Lilybiri
Legend
January 25, 2017

I am not a JS expert, probably you don't connect with Captivate.  You will have to offer more details, CSS is just styling, with JS you need to exchange using the JS API of Captivate. Maybe someone else will pop in.